diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs
index 5c7a42fa..ede7cfd6 100644
--- a/websocket-sharp/Net/CookieCollection.cs
+++ b/websocket-sharp/Net/CookieCollection.cs
@@ -51,7 +51,7 @@ namespace WebSocketSharp.Net
/// Provides a collection of instances of the class.
///
[Serializable]
- public class CookieCollection : ICollection, IEnumerable
+ public class CookieCollection : ICollection
{
#region Private Fields
@@ -782,13 +782,13 @@ namespace WebSocketSharp.Net
}
///
- /// Gets the enumerator used to iterate through the collection.
+ /// Gets the enumerator that iterates through the collection.
///
///
- /// An instance used to iterate through
- /// the collection.
+ /// An
+ /// instance that can be used to iterate through the collection.
///
- public IEnumerator GetEnumerator ()
+ public IEnumerator GetEnumerator ()
{
return _list.GetEnumerator ();
}
@@ -833,5 +833,21 @@ namespace WebSocketSharp.Net
}
#endregion
+
+ #region Explicit Interface Implementations
+
+ ///
+ /// Gets the enumerator that iterates through the collection.
+ ///
+ ///
+ /// An instance that can be used to iterate
+ /// through the collection.
+ ///
+ IEnumerator IEnumerable.GetEnumerator ()
+ {
+ return _list.GetEnumerator ();
+ }
+
+ #endregion
}
}