8 writes to _nestedRead
System.Net.Security (8)
System\Net\Security\SslStream.cs (2)
751if (Interlocked.Exchange(ref _nestedRead, NestedState.StreamInUse) == NestedState.StreamInUse) 772_nestedRead = NestedState.StreamNotInUse;
System\Net\Security\SslStream.IO.cs (6)
67if (Interlocked.Exchange(ref _nestedRead, NestedState.StreamDisposed) == NestedState.StreamNotInUse && 186if (Interlocked.CompareExchange(ref _nestedRead, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse) 195_nestedRead = NestedState.StreamNotInUse; 270_nestedRead = NestedState.StreamNotInUse; 908if (Interlocked.CompareExchange(ref _nestedRead, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse) 1059_nestedRead = NestedState.StreamNotInUse;
2 references to _nestedRead
System.Net.Security (2)
System\Net\Security\SslStream.IO.cs (2)
188ObjectDisposedException.ThrowIf(_nestedRead == NestedState.StreamDisposed, this); 910ObjectDisposedException.ThrowIf(_nestedRead == NestedState.StreamDisposed, this);