7 references to Disposed
System.Net.WebSockets.Client (7)
System\Net\WebSockets\ClientWebSocket.cs (7)
49
Debug.Assert(_state == InternalState.
Disposed
);
107
case InternalState.
Disposed
:
137
Debug.Assert(_state == InternalState.
Disposed
);
167
ObjectDisposedException.ThrowIf(_state == InternalState.
Disposed
, this);
183
if (_state != InternalState.
Disposed
)
192
if (Interlocked.Exchange(ref _state, InternalState.
Disposed
) != InternalState.
Disposed
)