16 references to StreamNotInUse
System.Net.Security (16)
System\Net\Security\SslStream.cs (1)
759_nestedRead = StreamNotInUse;
System\Net\Security\SslStream.IO.cs (15)
61if (Interlocked.Exchange(ref _nestedRead, StreamDisposed) == StreamNotInUse && 62Interlocked.Exchange(ref _nestedAuth, StreamDisposed) == StreamNotInUse) 168if (Interlocked.CompareExchange(ref _nestedAuth, StreamInUse, StreamNotInUse) != StreamNotInUse) 174if (Interlocked.CompareExchange(ref _nestedRead, StreamInUse, StreamNotInUse) != StreamNotInUse) 181if (Interlocked.Exchange(ref _nestedWrite, StreamInUse) != StreamNotInUse) 183_nestedRead = StreamNotInUse; 246_nestedRead = StreamNotInUse; 247_nestedWrite = StreamNotInUse; 358_nestedAuth = StreamNotInUse; 802if (Interlocked.CompareExchange(ref _nestedRead, StreamInUse, StreamNotInUse) != StreamNotInUse) 929_nestedRead = StreamNotInUse; 967_nestedWrite = StreamNotInUse;