diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 15103c30..76269de0 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -782,19 +782,6 @@ namespace WebSocketSharp.Net base.Add (name, checkValue (value)); } - private static int checkColonSeparated (string header) - { - var idx = header.IndexOf (':'); - - if (idx == -1) { - var msg = "No colon could be found."; - - throw new ArgumentException (msg, "header"); - } - - return idx; - } - private static HttpHeaderType checkHeaderType (string name) { var info = getHeaderInfo (name);