5 references to Waiting
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
);
164
Debug.Assert(oldState == State.
Waiting
, $"Unexpected operation state: {(State)oldState}");
184
newState = (state == State.Running ? State.
Waiting
: State.Canceled);
220
newState = (state == State.
Waiting
? State.Canceled : State.RunningWithPendingCancellation);