6 references to Canceled
System.Net.Sockets (6)
System\Net\Sockets\SocketAsyncContext.Unix.cs (6)
158if (oldState == State.Canceled) 184newState = (state == State.Running ? State.Waiting : State.Canceled); 193if (newState == State.Canceled) 215if (state is State.Complete or State.Canceled or State.RunningWithPendingCancellation) 220newState = (state == State.Waiting ? State.Canceled : State.RunningWithPendingCancellation); 246Debug.Assert(_state == State.Canceled);