6 references to Finished
System.ServiceModel (6)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (6)
547
this.asyncReceiveState = AsyncReceiveState.
Finished
;
601
Fx.Assert(this.asyncReceiveState == AsyncReceiveState.
Finished
, "this.asyncReceiveState is not AsyncReceiveState.Finished: " + this.asyncReceiveState);
836
int currentState = Interlocked.CompareExchange(ref this.asyncReceiveState, AsyncReceiveState.Started, AsyncReceiveState.
Finished
);
837
Fx.Assert(currentState == AsyncReceiveState.
Finished
, "currentState is not AsyncReceiveState.Finished: " + currentState);
838
if (currentState != AsyncReceiveState.
Finished
)
921
if (Interlocked.CompareExchange(ref this.asyncReceiveState, AsyncReceiveState.
Finished
, AsyncReceiveState.Started) == AsyncReceiveState.Started)