5 writes to _state
System.Net.Sockets (5)
System\Net\Sockets\SocketAsyncContext.Unix.cs (5)
144
_state
= State.Waiting;
157
State oldState = Interlocked.CompareExchange(ref
_state
, State.Running, State.Waiting);
171
_state
= State.Complete;
185
if (state == Interlocked.CompareExchange(ref
_state
, newState, state))
221
if (state == Interlocked.CompareExchange(ref
_state
, newState, state))
4 references to _state
System.Net.Sockets (4)
System\Net\Sockets\SocketAsyncContext.Unix.cs (4)
169
Debug.Assert(
_state
is State.Running or State.RunningWithPendingCancellation, "Unexpected operation state");
181
State state =
_state
;
214
State state =
_state
;
246
Debug.Assert(
_state
== State.Canceled);