* NameObjectCollectionBase.cs: Add argument checking in CopyTo,
replace use of enumerator by for-loop. Check IsReadOnly in BaseSet()
only on the 2.0 profile.
2008-01-07 Gert Driesen <[email protected]>
* NameObjectCollectionBaseTest.cs: Add tests for argument checking in
GetObjectData, Add, Clear, Remove, RemoveAt, Set and CopyTo.
svn path=/trunk/mcs/; revision=92428
** NameValueCollection(IEqualityComparer) that gets null as an argument..
** NameValueCollection(NameValueCollection).
Two test cases added.
svn path=/trunk/mcs/; revision=78007
* BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
* HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
* IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
* NameObjectCollectionBase.cs: Fixed 2.0 API changes and
serialization.
* NameValueCollection.cs: Fixed 2.0 API changes.
* OrderedDictionary.cs: Fixed API changes, serialization and this[int]
setter.
* StringDictionary.cs: Added missing null checks.
svn path=/trunk/mcs/; revision=53678
* NameObjectCollectionBase.cs: Don't throw an exception in
OnDeserialization if infoCopy has not been set, which means that
the serialization constructor has not been called, because
a subclass may completely override that constructor.
This fixes bug #75607.
svn path=/trunk/mcs/; revision=47636
* NameObjectCollectionBase.cs: after 1.0, this uses DefaultInvariant for
the hash code provider and comparer, as Ben said.
svn path=/trunk/mcs/; revision=44225
* NameObjectCollectionBase.cs: Fix line endings. It's mostly in
DOS endings, so I left it at that.
(GetEnumerator): Made virtual.
* ConfigurationElement.cs (InitializeDefault): Made virtual.
* AppSettingsSection.cs:
* Configuration.cs:
* ConfigurationLocation.cs:
* ConfigurationLocationCollection.cs:
* ConfigurationSection.cs:
* ConfigurationSectionCollection.cs:
* ConfigurationSectionGroup.cs:
* ConfigurationSectionGroupCollection.cs:
* ConnectionStringsSection.cs: Added stubs and bits of implementation.
Other than ConfigurationElementCollection and
ConnectionStringsSectionCollection, we now have the basic skeleton for
implementing the configuration system in the System.Configuration
namespace.
svn path=/trunk/mcs/; revision=32398
* NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
completes a TODO and fix Remove in NameValueCollection.
svn path=/trunk/mcs/; revision=29550
* NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
it compile and provide the constructor needed by nunitcore.
svn path=/trunk/mcs/; revision=2267
* NameObjectCollectionBase.cs: Add stub implementation
* common.src: Add NameObjectCollectionBase to the build
* NameValueCollection.cs: add 'override' to CopyTo(). Maybe
this code actually belongs in the superclass.
svn path=/trunk/mcs/; revision=664