4 writes to _nestedAuth
System.Net.Security (4)
System\Net\Security\SslStream.IO.cs (4)
67
Interlocked.Exchange(ref
_nestedAuth
, NestedState.StreamDisposed) == NestedState.StreamNotInUse)
177
if (Interlocked.CompareExchange(ref
_nestedAuth
, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse)
274
if (Interlocked.Exchange(ref
_nestedAuth
, NestedState.StreamInUse) == NestedState.StreamInUse)
400
_nestedAuth
= NestedState.StreamNotInUse;
3 references to _nestedAuth
System.Net.Security (3)
System\Net\Security\SslStream.IO.cs (2)
179
ObjectDisposedException.ThrowIf(
_nestedAuth
== NestedState.StreamDisposed, this);
596
if (
_nestedAuth
!= NestedState.StreamInUse)
System\Net\Security\SslStream.Protocol.cs (1)
1088
if (_sslAuthenticationOptions.AllowRenegotiation || SslProtocol == SslProtocols.Tls13 ||
_nestedAuth
!= NestedState.StreamNotInUse)