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