From b4bcf2705bf875e9fb6ad27f70e988d1df6029f1 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 8 Aug 2017 17:17:34 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Ext.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 93c2c326..ff85a42c 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -163,17 +163,6 @@ namespace WebSocketSharp return ret; } - internal static string CheckIfAvailable ( - this WebSocketState state, bool connecting, bool open, bool closing, bool closed) - { - return (!connecting && state == WebSocketState.Connecting) || - (!open && state == WebSocketState.Open) || - (!closing && state == WebSocketState.Closing) || - (!closed && state == WebSocketState.Closed) - ? "This operation isn't available in: " + state.ToString ().ToLower () - : null; - } - internal static string CheckIfValidProtocols (this string[] protocols) { return protocols.Contains (