diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs
index 589410ad..9e7a5538 100644
--- a/websocket-sharp/Ext.cs
+++ b/websocket-sharp/Ext.cs
@@ -197,6 +197,13 @@ namespace WebSocketSharp
: stream.ToByteArray ();
}
+ internal static bool Contains (
+ this NameValueCollection collection, string name
+ )
+ {
+ return collection[name] != null;
+ }
+
internal static bool Contains (
this NameValueCollection collection,
string name,
@@ -1099,25 +1106,6 @@ namespace WebSocketSharp
: value.IndexOfAny (chars) > -1;
}
- ///
- /// Determines whether the specified contains
- /// the entry with the specified .
- ///
- ///
- /// true if contains the entry with
- /// ; otherwise, false.
- ///
- ///
- /// A to test.
- ///
- ///
- /// A that represents the key of the entry to find.
- ///
- public static bool Contains (this NameValueCollection collection, string name)
- {
- return collection != null && collection.Count > 0 ? collection[name] != null : false;
- }
-
///
/// Emits the specified delegate if it isn't .
///