+2003-03-03 Miguel de Icaza <miguel@ximian.com>
+
+ * NameValueCollection.cs: Uncoment constructor, an old MCS bug
+ prevented this from working. Removed test for nullitude of col,
+ as it would have aborted anyways on the dereference in the base
+ constructor call.
+
2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StringCollection.cs: fixed range checks in CopyTo.
/// TODO: uncomment constructor below after it will be possible to compile NameValueCollection and
/// NameObjectCollectionBase to the same assembly
-/* public NameValueCollection( int capacity, NameValueCollection col )
- : base(capacity, col.get_HashCodeProvider(),col.Comparer)
+ public NameValueCollection( int capacity, NameValueCollection col )
+ : base(capacity, col.HashCodeProvider, col.Comparer)
{
- if (col==null)
- throw new ArgumentNullException("Null argument is not allowed");
Add(col);
}
-*/
+
/// <summary>
/// SDK: Initializes a new instance of the NameValueCollection class that is serializable
/// and uses the specified System.Runtime.Serialization.SerializationInfo and