4 writes to asyncReceiveState
System.ServiceModel (4)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (4)
547
this.
asyncReceiveState
= AsyncReceiveState.Finished;
563
if (Interlocked.CompareExchange(ref this.
asyncReceiveState
, AsyncReceiveState.Cancelled, AsyncReceiveState.Started) == AsyncReceiveState.Started)
836
int currentState = Interlocked.CompareExchange(ref this.
asyncReceiveState
, AsyncReceiveState.Started, AsyncReceiveState.Finished);
921
if (Interlocked.CompareExchange(ref this.
asyncReceiveState
, AsyncReceiveState.Finished, AsyncReceiveState.Started) == AsyncReceiveState.Started)
3 references to asyncReceiveState
System.ServiceModel (3)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (3)
592
if (this.
asyncReceiveState
== AsyncReceiveState.Cancelled)
601
Fx.Assert(this.
asyncReceiveState
== AsyncReceiveState.Finished, "this.asyncReceiveState is not AsyncReceiveState.Finished: " + this.
asyncReceiveState
);