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. 64_state = State.Stopped; 110get { return _state == State.Started; } 130if (_state == State.Started) 155_state = State.Started; 160_state = State.Disposed; 175if (_state == State.Stopped) 189_state = State.Stopped; 219if (_state == State.Disposed) 235_state = State.Disposed; 265Debug.Assert(_state != State.Stopped, "Listener has been stopped."); 382ObjectDisposedException.ThrowIf(_state == State.Disposed, this);