From 068e34f5387d06e0bbee086cc0210b241c50797f Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 16 Mar 2019 22:02:43 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/Cookie.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs index ae0e9e1f..2e683744 100644 --- a/websocket-sharp/Net/Cookie.cs +++ b/websocket-sharp/Net/Cookie.cs @@ -734,22 +734,6 @@ namespace WebSocketSharp.Net #region Private Methods - private static bool canSetName (string name, out string message) - { - if (name.IsNullOrEmpty ()) { - message = "The value specified for the Name is null or empty."; - return false; - } - - if (name[0] == '$' || name.Contains (_reservedCharsForName)) { - message = "The value specified for the Name contains an invalid character."; - return false; - } - - message = String.Empty; - return true; - } - private static bool canSetValue (string value, out string message) { if (value == null) {