6 writes to _state
System.Net.HttpListener (6)
System\Net\HttpListener.cs (1)
35_state = State.Stopped;
System\Net\Managed\HttpListener.Managed.cs (5)
55_state = State.Started; 59_state = State.Closed; 99_state = State.Stopped; 129_state = State.Closed; 155_state = State.Closed;
12 references to _state
System.Net.HttpListener (12)
System\Net\HttpListener.cs (5)
157if (_state == State.Started) 230if (_state == State.Started) 252if (_state == State.Started) 278public bool IsListening => _state == State.Started; 314ObjectDisposedException.ThrowIf(_state == State.Closed, this);
System\Net\Managed\HttpListener.Managed.cs (7)
45if (_state == State.Started) 85if (_state == State.Stopped) 111if (_state == State.Closed) 117if (_state == State.Started) 141if (_state == State.Closed) 286if (_state != State.Started) 360if (_state == State.Stopped)