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)
157
if (
_state
== State.Started)
230
if (
_state
== State.Started)
252
if (
_state
== State.Started)
278
public bool IsListening =>
_state
== State.Started;
314
ObjectDisposedException.ThrowIf(
_state
== State.Closed, this);
System\Net\Managed\HttpListener.Managed.cs (7)
41
if (
_state
== State.Started)
76
if (
_state
== State.Stopped)
102
if (
_state
== State.Closed)
108
if (
_state
== State.Started)
132
if (
_state
== State.Closed)
276
if (
_state
!= State.Started)
342
if (
_state
== State.Stopped)