This attribute gives us a horrible debugging experience when the
'Value' of the KeyValuePair is null. By using this attribute, the
user is told that the KeyValuePair itself is null when they inspect
something like 'new KeyValuePair<string, string> (null, null)'.
This is very confusing.
We should just let the ToString method be invoked, which returns a
nicely formatted string. This is also the behaviour observed when
debugging using Visual Studio.
* Queue.cs, DictionaryEntry.cs, Hashtable.cs,
CollectionDebuggerView.cs, Stack.cs, ArrayList.cs: Add nicer debug
view for tools which support it.
svn path=/trunk/mcs/; revision=142568
2008-05-08 Robert Jordan <[email protected]>
* DictionaryEntry.cs: Rename fields for serialization
compatibility with MS. Accept null keys on 2.0 profile.
Fixes#381922.
In Test/System.Collections:
2008-05-08 Robert Jordan <[email protected]>
* DictionaryEntryTest.cs: Add tests for key's argument validation.
svn path=/trunk/mcs/; revision=102831
* Add ComVisible(true) to all the classes that needed it.
* Removed documentation from DictionaryBase.cs and moved it to
Monodoc.
* ArrayList.cs: Fixed signature for constructor, parameter names
are normative.
* CollectionBase.cs: Add a couple of missing methods.
svn path=/trunk/mcs/; revision=51018