5 references to Waiting
System.Net.Sockets (5)
System\Net\Sockets\SocketAsyncContext.Unix.cs (5)
144_state = State.Waiting; 157State oldState = Interlocked.CompareExchange(ref _state, State.Running, State.Waiting); 164Debug.Assert(oldState == State.Waiting, $"Unexpected operation state: {(State)oldState}"); 184newState = (state == State.Running ? State.Waiting : State.Canceled); 220newState = (state == State.Waiting ? State.Canceled : State.RunningWithPendingCancellation);