9 writes to _state
System.Net.Sockets (9)
System\Net\Sockets\SocketAsyncContext.Unix.cs (9)
803_state = QueueState.Ready; 820QueueState state = (QueueState)Volatile.Read(ref Unsafe.As<QueueState, int>(ref _state)); 865_state = QueueState.Waiting; 975_state = QueueState.Processing; 1087_state = QueueState.Waiting; 1115_state = QueueState.Ready; 1175_state = QueueState.Ready; 1187_state = QueueState.Ready; 1228_state = QueueState.Stopped;
17 references to _state
System.Net.Sockets (17)
System\Net\Sockets\SocketAsyncContext.Unix.cs (17)
852switch (_state) 956switch (_state) 1040if (_state == QueueState.Stopped) 1048Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1068if (_state == QueueState.Stopped) 1076Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1100if (_state == QueueState.Stopped) 1107Debug.Assert(_state == QueueState.Processing, $"_state={_state} while processing queue!"); 1144if (_state == QueueState.Stopped) 1169if (_state == QueueState.Processing) 1183else if (_state == QueueState.Waiting) 1220Debug.Assert(_state != QueueState.Stopped); 1226Debug.Assert(_state != QueueState.Stopped); 1257OutputTrace($"{IdOf(context)}-{queueType}.{memberName}: {message}, {_state}-{_sequenceNumber}, {((_tail == null) ? "empty" : "not empty")}");