3 references to IsHeld
System.Net.WebSockets (3)
System\Net\WebSockets\ManagedWebSocket.cs (3)
505Debug.Assert(_sendMutex.IsHeld, $"Caller should hold the {nameof(_sendMutex)}"); 1173Debug.Assert(_receiveMutex.IsHeld, $"Caller should hold the {nameof(_receiveMutex)}"); 1633Debug.Assert(_sendMutex.IsHeld, $"Caller should hold the {nameof(_sendMutex)}");