[Modify] Remove it

This commit is contained in:
sta 2016-03-24 14:42:49 +09:00
parent c89f186964
commit cf6d4dc9ac

View File

@ -787,16 +787,6 @@ namespace WebSocketSharp
return true; return true;
} }
private string checkIfAvailable (
bool client, bool server, bool connecting, bool open, bool closing, bool closed)
{
return !client && _client
? "This operation isn't available in: client"
: !server && !_client
? "This operation isn't available in: server"
: _readyState.CheckIfAvailable (connecting, open, closing, closed);
}
private bool checkIfAvailable ( private bool checkIfAvailable (
bool connecting, bool open, bool closing, bool closed, out string message bool connecting, bool open, bool closing, bool closed, out string message
) )