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