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