7 references to WebSocketStateHelper
System.Net.WebSockets (7)
System\Net\WebSockets\ManagedWebSocket.cs (6)
331
ThrowIfInvalidState(
WebSocketStateHelper
.ValidSendStates);
371
ThrowIfInvalidState(
WebSocketStateHelper
.ValidReceiveStates);
388
ThrowIfInvalidState(
WebSocketStateHelper
.ValidReceiveStates);
407
ThrowIfInvalidState(
WebSocketStateHelper
.ValidCloseStates);
430
ThrowIfInvalidState(
WebSocketStateHelper
.ValidCloseOutputStates);
1752
WebSocketStateHelper
.ThrowIfInvalidState(state, disposed, keepAliveException, validStates);
System\Net\WebSockets\ManagedWebSocket.KeepAlive.cs (1)
40
if (!
WebSocketStateHelper
.IsValidSendState(_state))