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