From 7018bab939093b11429251121544881d8add2aa1 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 8 Aug 2017 17:12:01 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Ext.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 076b702e..5694f34a 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -163,16 +163,6 @@ namespace WebSocketSharp return ret; } - internal static string CheckIfAvailable ( - this ServerState state, bool ready, bool start, bool shutting) - { - return (!ready && (state == ServerState.Ready || state == ServerState.Stop)) || - (!start && state == ServerState.Start) || - (!shutting && state == ServerState.ShuttingDown) - ? "This operation isn't available in: " + state.ToString ().ToLower () - : null; - } - internal static string CheckIfAvailable ( this WebSocketState state, bool connecting, bool open, bool closing, bool closed) {