8 writes to _nestedRead
System.Net.Security (8)
System\Net\Security\SslStream.cs (2)
751
if (Interlocked.Exchange(ref
_nestedRead
, NestedState.StreamInUse) == NestedState.StreamInUse)
772
_nestedRead
= NestedState.StreamNotInUse;
System\Net\Security\SslStream.IO.cs (6)
66
if (Interlocked.Exchange(ref
_nestedRead
, NestedState.StreamDisposed) == NestedState.StreamNotInUse &&
183
if (Interlocked.CompareExchange(ref
_nestedRead
, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse)
192
_nestedRead
= NestedState.StreamNotInUse;
255
_nestedRead
= NestedState.StreamNotInUse;
888
if (Interlocked.CompareExchange(ref
_nestedRead
, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse)
1039
_nestedRead
= NestedState.StreamNotInUse;
2 references to _nestedRead
System.Net.Security (2)
System\Net\Security\SslStream.IO.cs (2)
185
ObjectDisposedException.ThrowIf(
_nestedRead
== NestedState.StreamDisposed, this);
890
ObjectDisposedException.ThrowIf(
_nestedRead
== NestedState.StreamDisposed, this);