5 references to RunningWithPendingCancellation
System.Net.Sockets (5)
System\Net\Sockets\SocketAsyncContext.Unix.cs (5)
169
Debug.Assert(_state is State.Running or State.
RunningWithPendingCancellation
, "Unexpected operation state");
182
Debug.Assert(state is State.Running or State.
RunningWithPendingCancellation
, $"Unexpected operation state: {(State)state}");
215
if (state is State.Complete or State.Canceled or State.
RunningWithPendingCancellation
)
220
newState = (state == State.Waiting ? State.Canceled : State.
RunningWithPendingCancellation
);
229
if (newState == State.
RunningWithPendingCancellation
)