12 references to State
Microsoft.AspNetCore.Server.HttpSys (12)
HttpSysListener.cs (12)
39private volatile State _state; // m_State is set only within lock blocks, but often read outside locks. 63_state = State.Stopped; 115get { return _state == State.Started; } 135if (_state == State.Started) 160_state = State.Started; 165_state = State.Disposed; 180if (_state == State.Stopped) 194_state = State.Stopped; 224if (_state == State.Disposed) 240_state = State.Disposed; 271Debug.Assert(_state != State.Stopped, "Listener has been stopped."); 388ObjectDisposedException.ThrowIf(_state == State.Disposed, this);