3 writes to _disposed
System.Net.Quic (3)
System\Net\Quic\QuicStream.cs (1)
701
if (Interlocked.Exchange(ref
_disposed
, 1) != 0)
System\Net\Quic\QuicStream.Stream.cs (2)
89
public override bool CanRead => Volatile.Read(ref
_disposed
) == 0 && _canRead;
152
public override bool CanWrite => Volatile.Read(ref
_disposed
) == 0 && _canWrite;
10 references to _disposed
System.Net.Quic (10)
System\Net\Quic\QuicStream.cs (4)
267
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
354
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
445
if (
_disposed
== 1)
504
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
System\Net\Quic\QuicStream.Stream.cs (6)
53
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
58
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
72
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
77
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
116
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);
178
ObjectDisposedException.ThrowIf(
_disposed
== 1, this);