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