9 writes to _state
System.Net.Sockets (9)
System\Net\Sockets\SocketAsyncContext.Unix.cs (9)
801_state = QueueState.Ready; 818QueueState state = (QueueState)Volatile.Read(ref Unsafe.As<QueueState, int>(ref _state)); 863_state = QueueState.Waiting; 973_state = QueueState.Processing; 1085_state = QueueState.Waiting; 1113_state = QueueState.Ready; 1173_state = QueueState.Ready; 1185_state = QueueState.Ready; 1226_state = QueueState.Stopped;
17 references to _state
System.Net.Sockets (17)
System\Net\Sockets\SocketAsyncContext.Unix.cs (17)
850switch (_state) 954switch (_state) 1038if (_state == QueueState.Stopped) 1046Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1066if (_state == QueueState.Stopped) 1074Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1098if (_state == QueueState.Stopped) 1105Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1142if (_state == QueueState.Stopped) 1167if (_state == QueueState.Processing) 1181else if (_state == QueueState.Waiting) 1218Debug.Assert(_state != QueueState.Stopped); 1224Debug.Assert(_state != QueueState.Stopped); 1255OutputTrace($"{IdOf(context)}-{queueType}.{memberName}: {message}, {_state}-{_sequenceNumber}, {((_tail == null) ? "empty" : "not empty")}");