4 writes to _nestedAuth
System.Net.Security (4)
System\Net\Security\SslStream.IO.cs (4)
67Interlocked.Exchange(ref _nestedAuth, NestedState.StreamDisposed) == NestedState.StreamNotInUse) 195if (Interlocked.CompareExchange(ref _nestedAuth, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse) 292if (Interlocked.Exchange(ref _nestedAuth, NestedState.StreamInUse) == NestedState.StreamInUse) 410_nestedAuth = NestedState.StreamNotInUse;
3 references to _nestedAuth
System.Net.Security (3)
System\Net\Security\SslStream.IO.cs (3)
197ObjectDisposedException.ThrowIf(_nestedAuth == NestedState.StreamDisposed, this); 580if (_nestedAuth != NestedState.StreamInUse) 830if (_sslAuthenticationOptions.AllowRenegotiation || SslProtocol == SslProtocols.Tls13 || _nestedAuth != NestedState.StreamNotInUse)