16 references to StateUpdateLock
System.Net.WebSockets (16)
System\Net\WebSockets\ManagedWebSocket.cs (14)
142
Debug.Assert(
StateUpdateLock
!= null, $"Expected {nameof(
StateUpdateLock
)} to be non-null");
228
lock (
StateUpdateLock
)
236
Debug.Assert(Monitor.IsEntered(
StateUpdateLock
), $"Expected {nameof(
StateUpdateLock
)} to be held");
435
lock (
StateUpdateLock
)
457
lock (
StateUpdateLock
)
465
Debug.Assert(Monitor.IsEntered(
StateUpdateLock
), $"Expected {nameof(
StateUpdateLock
)} to be held");
1070
lock (
StateUpdateLock
)
1210
lock (
StateUpdateLock
)
1497
lock (
StateUpdateLock
)
1550
lock (
StateUpdateLock
)
1742
lock (
StateUpdateLock
)
System\Net\WebSockets\ManagedWebSocket.KeepAlive.cs (2)
62
lock (
StateUpdateLock
)
177
private object StateUpdateLock => _parent.
StateUpdateLock
;