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