Commit Graph
27 Commits
Author SHA1 Message Date
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Miguel de Icaza 0204abe803 Drop more obsolete defines
svn path=/trunk/mcs/; revision=144304
2009-10-17 01:35:27 +00:00
Jb Evain 47b1812dcc 2008-08-05 Jb Evain <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: refactor CultureInfo
	comparison to also work for SL2.


svn path=/trunk/mcs/; revision=109653
2008-08-05 09:58:07 +00:00
Jb Evain 4a6b0bd6e4 share folks from System.Collections in both System and System.Xml
svn path=/branches/jb/ml2/mcs/; revision=99297
2008-03-29 17:08:50 +00:00
Gert Driesen 3ca0829cb5 * CaseInsensitiveHashCodeProvider.cs: Lazy init Default instance and
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
2007-07-05 17:39:44 +00:00
Gert Driesen 82a943e21a * CaseInsensitiveHashCodeProvider.cs: In default ctor, do not save
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
2007-07-05 16:40:03 +00:00
Sebastien Pouliot 616cd22919 2005-12-06 Sebastien Pouliot <[email protected]>
* CaseInsensitiveHashCodeProvider: Serialization is now compatible 
	with MS. Removes the last TODO for 1.1 in this namespace :-)


svn path=/trunk/mcs/; revision=54016
2005-12-07 01:58:49 +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
Zoltan Varga c09d655623 2005-09-05 Zoltan Varga <[email protected]>
* Hashtable.cs: Add new IEqualityComparer constructors for 2.0.

	* CaseInsensitiveHashCodeProvider.cs IHashCodeProvider.cs: Mark these
	as obsolete in 2.0.

svn path=/trunk/mcs/; revision=49484
2005-09-05 16:57:08 +00:00
Raja R Harinath e4bbd420a7 (GetHashCode): When culture
is not invariant, avoid an icall on every character.

(This chopped off 15s on a testcase that 'mbas' originally took 1m35s.)

svn path=/trunk/mcs/; revision=34798
2004-10-08 08:38:21 +00:00
Gert Driesen 7d73431646 * CaseInsensitiveComparer.cs: added TODO for serialization
* CaseInsensitiveHashCodeProvider.cs: added TODO for serialization
* SortedList.cs: added TODO for serialization
* Stack.cs: added TODO for serialization

svn path=/trunk/mcs/; revision=29626
2004-06-15 18:02:16 +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 5f83ba45db 2004-05-01 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs
	* CaseInsensitiveComparer.cs: Change lineendings
	* CaseInsensitiveComparer.cs: Restyle

svn path=/trunk/mcs/; revision=26503
2004-05-01 11:53:01 +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 a322a8c901 constify
svn path=/trunk/mcs/; revision=26353
2004-04-29 22:10:51 +00:00
Andreas N 755b03ad5d 2004-04-25 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Fix the default constructor (needs to
	  set CurrentCulture, Add null check to other constructor, Call correct function
	  for invariant case, ensure culture is set to null for invariant case, removed
	  static constructor, made invariant version available as internal in .Net 1.0

svn path=/trunk/mcs/; revision=25954
2004-04-25 11:42:52 +00:00
Lluis Sanchez 0cc0202ef8 * CaseInsensitiveHashCodeProvider.cs: If the culture is null, don't use
Char.ToLower(c,culture), since it does not accept null as culture.

svn path=/trunk/mcs/; revision=25795
2004-04-21 21:29:28 +00:00
Lluis Sanchez 2efebf1552 * CaseInsensitiveHashCodeProvider.cs: Added support for CultureInfo.
Implemented property DefaultInvariant.

svn path=/trunk/mcs/; revision=24787
2004-03-30 15:29:11 +00:00
Gonzalo Paniagua Javier 1f3eefe431 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: small speed improvement.

svn path=/trunk/mcs/; revision=17656
2003-08-27 08:27:06 +00:00
Gonzalo Paniagua Javier 4c38a8392d 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs:
	* BitArray.cs:
	* CaseInsensitiveComparer.cs:
	* CaseInsensitiveHashCodeProvider.cs:
	* IEnumerable.cs:
	* Queue.cs: misc. fixes based on class status page.

svn path=/trunk/mcs/; revision=7002
2002-08-24 17:52:23 +00:00
Tim Coleman 5b14e29c9e 2002-07-22 Tim Coleman <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Added missing constructor
                which was breaking System.Web build on linux

svn path=/trunk/mcs/; revision=6062
2002-07-23 04:03:11 +00:00
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Piers Haken 4c6ef57917 minor fixups:
visibility changes
	remove obsolete (& unimplemented) methods

svn path=/trunk/mcs/; revision=3558
2002-04-02 19:24:40 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Ravi Pratap M b669cc583d 2002-01-04 Ravi Pratap <[email protected]>
* Correct name to MonoTODO everywhere.

svn path=/trunk/mcs/; revision=1824
2002-01-04 14:54:38 +00:00
Ravi Pratap M 79fc3429c7 2002-01-04 Ravi Pratap <[email protected]>
* ArrayList.cs : Setting an index does not implicitly
	extend the arraylist : remove FIXME.

	Decorate incomplete elements with the TODO attribute.

	* BitArray.cs : Insert TODO attributes where appropriate.

	* CaseInsensitiveHashcodeProvider.cs: Ditto.

	* Hashtable.cs, SortedList.cs : Ditto.

svn path=/trunk/mcs/; revision=1821
2002-01-04 14:37:37 +00:00
Miguel de Icaza 27cc06c335 Update for Sergey
svn path=/trunk/mcs/; revision=234
2001-07-19 18:48:56 +00:00