File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,9 @@ ISurrogate ISurrogated.ToSurrogate(ActorSystem system)
127
127
128
128
IActorRefProvider IInternalActorRef . Provider { get { return ( ( IInternalActorRef ) TestActor ) . Provider ; } }
129
129
130
+ #pragma warning disable CS0618 // Type or member is obsolete
130
131
bool IInternalActorRef . IsTerminated { get { return ( ( IInternalActorRef ) TestActor ) . IsTerminated ; } }
132
+ #pragma warning restore CS0618 // Type or member is obsolete
131
133
132
134
IActorRef IInternalActorRef . GetChild ( IReadOnlyList < string > name )
133
135
{
Original file line number Diff line number Diff line change @@ -389,7 +389,9 @@ internal static void PrintActors()
389
389
Console . WriteLine ( "{0} inhabitants {1}" , dispatcher , dispatcher . Inhabitants ) ;
390
390
foreach ( var actor in a )
391
391
{
392
+ #pragma warning disable CS0618 // Type or member is obsolete
392
393
var status = actor . IsTerminated ? "(terminated)" : "(active)" ;
394
+ #pragma warning restore CS0618 // Type or member is obsolete
393
395
var messages = actor is ActorRefWithCell
394
396
? " " + actor . AsInstanceOf < ActorRefWithCell > ( ) . Underlying . NumberOfMessages + " messages"
395
397
: " " + actor . GetType ( ) ;
You can’t perform that action at this time.
0 commit comments