8 writes to _nestedRead
System.Net.Security (8)
System\Net\Security\SslStream.cs (2)
746if (Interlocked.Exchange(ref _nestedRead, NestedState.StreamInUse) == NestedState.StreamInUse) 767_nestedRead = NestedState.StreamNotInUse;
System\Net\Security\SslStream.IO.cs (6)
65if (Interlocked.Exchange(ref _nestedRead, NestedState.StreamDisposed) == NestedState.StreamNotInUse && 200if (Interlocked.CompareExchange(ref _nestedRead, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse) 209_nestedRead = NestedState.StreamNotInUse; 272_nestedRead = NestedState.StreamNotInUse; 828if (Interlocked.CompareExchange(ref _nestedRead, NestedState.StreamInUse, NestedState.StreamNotInUse) != NestedState.StreamNotInUse) 955_nestedRead = NestedState.StreamNotInUse;
2 references to _nestedRead
System.Net.Security (2)
System\Net\Security\SslStream.IO.cs (2)
202ObjectDisposedException.ThrowIf(_nestedRead == NestedState.StreamDisposed, this); 830ObjectDisposedException.ThrowIf(_nestedRead == NestedState.StreamDisposed, this);