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