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