4 writes to _asyncReceiveState
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (4)
499
_asyncReceiveState
= AsyncReceiveState.Finished;
510
if (Interlocked.CompareExchange(ref
_asyncReceiveState
, AsyncReceiveState.Cancelled, AsyncReceiveState.Started) == AsyncReceiveState.Started)
725
int currentState = Interlocked.CompareExchange(ref
_asyncReceiveState
, AsyncReceiveState.Started, AsyncReceiveState.Finished);
806
if (Interlocked.CompareExchange(ref
_asyncReceiveState
, AsyncReceiveState.Finished, AsyncReceiveState.Started) == AsyncReceiveState.Started)