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.
* System.Collections/ArrayList.cs:
* System.Collections/Hashtable.cs:
Do not include debugger-related attributes and some interfaces
when compiled outside corlib
* System.Runtime.Serialization/ObjectIDGenerator.cs: Ensure this can be
compiled outside corlib (needed for ML S.X.S.dll where even internals
cannot be used)
2010-03-19 Sebastien Pouliot <[email protected]>
* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]
In System.Collections.Generic:
2010-03-19 Sebastien Pouliot <[email protected]>
* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]
svn path=/trunk/mcs/; revision=153915
2010-03-12 Sebastien Pouliot <[email protected]>
* Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
of SL4
In System.Collections:
2010-03-12 Sebastien Pouliot <[email protected]>
* IStructuralComparable.cs, IStructuralEquatable.cs: Add them to
NET_2_1 since they are parts of SL4
In System.IO:
2010-03-12 Sebastien Pouliot <[email protected]>
* File.cs: Enable some NET_4_0 features in NET_2_1 since they are
part of SL4. Throw a SecurityException in Moonlight in non-debug
builds until we're ready for elevated trust.
svn path=/trunk/mcs/; revision=153506
* Hashtable.cs: MS (at least latest and greatest) does not always
serialized the HashCodeProvider. Ignoring the error when the field
is not found.
svn path=/trunk/mcs/; revision=143099
* 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
* ArrayList.cs: introduce a helper method to throw
ArgumentOutOfRangeExceptions correctly as SL miss some
constructors.
svn path=/trunk/mcs/; revision=109556
* List.cs (RemoveAll, Shift): Fix leak by clearing empty array
items.
2008-05-29 Juraj Skripsky <[email protected]>
* ArrayList.cs: Create the empty array only once and reuse it.
svn path=/trunk/mcs/; revision=104415
* Hashtable.cs: Implement a faster clone that does not use an
enumerator to iterate over the values, this doubles the speed of
Clone.
The use of an internal constructor that builds from a Hashtable is
done to avoid populating a Hashtable and then updating every field
and structure with new data.
svn path=/trunk/mcs/; revision=103926
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