net\System\Net\SecureProtocols\_SslState.cs (6)
1187int lockState = Interlocked.CompareExchange(ref _LockReadState, LockRead, LockNone);
1235int lockState = Interlocked.CompareExchange(ref _LockReadState, LockNone, LockRead);
1267int lockState = Interlocked.CompareExchange(ref _LockWriteState, LockWrite, LockNone);
1302int lockState = Interlocked.CompareExchange(ref _LockWriteState, LockNone, LockWrite);
1391FinishHandshakeRead(LockNone);
1394int lockState = Interlocked.CompareExchange(ref _LockWriteState, LockNone, LockHandshake);