7 references to Disposed
System.Net.WebSockets.Client (7)
System\Net\WebSockets\ClientWebSocket.cs (7)
48
Debug.Assert(_state == InternalState.
Disposed
);
106
case InternalState.
Disposed
:
136
Debug.Assert(_state == InternalState.
Disposed
);
166
ObjectDisposedException.ThrowIf(_state == InternalState.
Disposed
, this);
182
if (_state != InternalState.
Disposed
)
191
if (Interlocked.Exchange(ref _state, InternalState.
Disposed
) != InternalState.
Disposed
)