6 writes to _state
System.Net.HttpListener (6)
System\Net\HttpListener.cs (1)
35_state = State.Stopped;
System\Net\Managed\HttpListener.Managed.cs (5)
46_state = State.Started; 50_state = State.Closed; 90_state = State.Stopped; 120_state = State.Closed; 146_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)
41if (_state == State.Started) 76if (_state == State.Stopped) 102if (_state == State.Closed) 108if (_state == State.Started) 132if (_state == State.Closed) 276if (_state != State.Started) 342if (_state == State.Stopped)