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