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