5 references to Finished
System.ServiceModel.Http (5)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (5)
483
_asyncReceiveState = AsyncReceiveState.
Finished
;
697
int currentState = Interlocked.CompareExchange(ref _asyncReceiveState, AsyncReceiveState.Started, AsyncReceiveState.
Finished
);
698
Fx.Assert(currentState == AsyncReceiveState.
Finished
, "currentState is not AsyncReceiveState.Finished: " + currentState);
699
if (currentState != AsyncReceiveState.
Finished
)
778
if (Interlocked.CompareExchange(ref _asyncReceiveState, AsyncReceiveState.
Finished
, AsyncReceiveState.Started) == AsyncReceiveState.Started)