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
1.0 profile. On 2.0 profile, do nothing in IDictionary.Remove if
the key is not present in the hashtable. On 2.0 profile, we also need
to add entry back to hashtable when an exception is thrown in
OnRemoveComplete.
* DictionaryBaseTest.cs: Improved existing tests, and use Assert class
instead of deriving from deprecated Assertion class. Code formatting.
svn path=/trunk/mcs/; revision=98844
* DictionaryBase.cs: Fix getter on IDictionary.this to avoid two
access to the hashtable and to behave more closely to MS
implementation (see new unit tests).
svn path=/trunk/mcs/; revision=98765
2007-11-06 Jb Evain <[email protected]>
* Hashtable.cs: Don't compare user keys against the special removed
key. Fix#324761.
in Test/System.Collections:
2007-11-06 Jb Evain <[email protected]>
* HashtableTest.cs: Add test case for #324761.
svn path=/trunk/mcs/; revision=89004
reconstruct it if CurrentCulture changes.
* CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
instance to pass on both Mono and MS. Added separate tests that
verify the specific Mono and MS behavior.
svn path=/trunk/mcs/; revision=81412
TextInfo if current culture is invariant. Remoted private ctor.
In Default, always construct new instance since the current culture
may change.
* CaseInsensitiveHashCodeProviderTest.cs: Improved test for
Default property to show the a new intance is constructed. Added test
for DefaultInvariant. Improved serialization tests. Added ctor test
for null CultureInfo. Code formatting.
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
where invariant culture is default locale.
svn path=/trunk/mcs/; revision=81408
* Hashtable.cs (PutImpl): Do not access the table twice, only
once.
(TestPrime): optimize, take the sqrt out of the loop.
svn path=/trunk/mcs/; revision=64217
* ReadOnlyCollectionBase.cs (Count): Mark as virtual in
NET_2_0. Fixes#79033.
* ReadOnlyCollectionBaseTest.cs (TestZeroCountOnNew): Add test for
overriding Count in NET_2_0 for #79033.
svn path=/trunk/mcs/; revision=63516
* Comparer.cs : changed internal field from CultureInfo to
CompareInfo. This cosmetic change should fix bug #77701.
svn path=/trunk/mcs/; revision=59912
* SortedList.cs: Removed check for IComparable in ctor (fixed bug
#76750). Removed unused private method. Added more useful info (the
duplicate key) to an exception.
svn path=/trunk/mcs/; revision=54065
* CaseInsensitiveHashCodeProvider: Serialization is now compatible
with MS. Removes the last TODO for 1.1 in this namespace :-)
svn path=/trunk/mcs/; revision=54016
* 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