Commit Graph
10 Commits
Author SHA1 Message Date
Alan McGovern d6396791ce [corlib] Remove the DebuggerDisplay attribute from KeyValuePair and DictionaryEntry
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.
2012-11-01 15:59:23 +00:00
Miguel de Icaza e6371e3437 2009-10-16 Miguel de Icaza <[email protected]>
* Jumbo patch to elimiante more dead code now that we have dropped
	pre-2.0 profiles.


svn path=/trunk/mcs/; revision=144303
2009-10-17 01:00:45 +00:00
Marek Safar 410b1478f4 2009-09-24 Marek Safar <[email protected]>
* 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
2009-09-24 11:15:24 +00:00
Robert Jordan a9f497010c In System.Collections:
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
2008-05-08 20:57:15 +00:00
Miguel de Icaza 5370ce3394 2005-09-29 Miguel de Icaza <[email protected]>
* 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
2005-09-30 02:15:04 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Andreas N d2f65ad9d1 2004-05-01 Andreas Nahr <[email protected]>
* BitArray.cs: Fix parameter names
	* CaseInsensitiveHashCodeProvider.cs: Fix signature
	* DictionaryEntry.cs: Fix parameter names
	* Hashtable.cs: Fix signatures
	* SortedList.cs: Fix signatures

svn path=/trunk/mcs/; revision=26502
2004-05-01 10:23:55 +00:00
Ben Maurer 74c9dc4554 2003-06-04 Ben Maurer <[email protected]>
* DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
	failures

svn path=/trunk/mcs/; revision=15112
2003-06-04 22:29:05 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Paolo Molaro 49917c2062 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <[email protected]>
* DictionaryEntry.cs: added.

svn path=/trunk/mcs/; revision=955
2001-09-25 10:57:56 +00:00