3 writes to _disposed
System.Net.WebSockets (3)
System\Net\WebSockets\WebSocketStream.cs (3)
249
_disposed
= true;
321
_disposed
= true;
375
_disposed
= true;
8 references to _disposed
System.Net.WebSockets (8)
System\Net\WebSockets\WebSocketStream.cs (8)
98
public override bool CanRead => !
_disposed
&& WebSocket.State is WebSocketState.Open or WebSocketState.CloseSent;
101
public override bool CanWrite => !
_disposed
&& WebSocket.State is WebSocketState.Open or WebSocketState.CloseReceived;
197
if (
_disposed
)
218
ObjectDisposedException.ThrowIf(
_disposed
, this);
247
if (!
_disposed
)
299
if (
_disposed
)
319
if (!
_disposed
)
341
ObjectDisposedException.ThrowIf(
_disposed
, this);