5 writes to _state
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); 171_state = State.Complete; 185if (state == Interlocked.CompareExchange(ref _state, newState, state)) 221if (state == Interlocked.CompareExchange(ref _state, newState, state))
4 references to _state
System.Net.Sockets (4)
System\Net\Sockets\SocketAsyncContext.Unix.cs (4)
169Debug.Assert(_state is State.Running or State.RunningWithPendingCancellation, "Unexpected operation state"); 181State state = _state; 214State state = _state; 246Debug.Assert(_state == State.Canceled);