7 references to Disposed
System.Net.WebSockets.Client (7)
System\Net\WebSockets\ClientWebSocket.cs (7)
49
Debug.Assert(_state == InternalState.
Disposed
);
110
case InternalState.
Disposed
:
140
Debug.Assert(_state == InternalState.
Disposed
);
170
ObjectDisposedException.ThrowIf(_state == InternalState.
Disposed
, this);
186
if (_state != InternalState.
Disposed
)
195
if (Interlocked.Exchange(ref _state, InternalState.
Disposed
) != InternalState.
Disposed
)