12 references to State
Microsoft.AspNetCore.Server.HttpSys (12)
HttpSysListener.cs (12)
37private volatile State _state; // m_State is set only within lock blocks, but often read outside locks. 60_state = State.Stopped; 119get { return _state == State.Started; } 139if (_state == State.Started) 164_state = State.Started; 169_state = State.Disposed; 184if (_state == State.Stopped) 198_state = State.Stopped; 228if (_state == State.Disposed) 244_state = State.Disposed; 274Debug.Assert(_state != State.Stopped, "Listener has been stopped."); 391ObjectDisposedException.ThrowIf(_state == State.Disposed, this);