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