Commit Graph
17 Commits
Author SHA1 Message Date
Marek Safar 482e63b5bd Few corcompare fixes 2011-09-05 19:02:32 +01:00
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Scott Thomas 144022fb14 * BitVector32.cs: Minor fixes. Simplified Section.ToString and
GetHashCode, and BitVector32.Equals.


svn path=/trunk/mcs/; revision=112633
2008-09-10 01:24:11 +00:00
Scott Thomas 4a5ecae47f Fixed bug 417833 which allowed for the creation of illegal
BitVector32.Sections. Also added a unit test for the bug.


svn path=/trunk/mcs/; revision=111591
2008-08-26 01:51:50 +00:00
Alan McGovern 0c219660e6 Should've used "or" not "and" in the inequality test.
svn path=/trunk/mcs/; revision=75017
2007-03-27 14:05:34 +00:00
Atsushi Eno bd1da5281e 2006-04-04 Atsushi Enomoto <[email protected]>
* BitVector32.cs : oops those operators are for BitVector32.Section,
	  not BitVector32 itself.


svn path=/trunk/mcs/; revision=58997
2006-04-04 01:31:40 +00:00
Atsushi Eno 3ebe3c0d50 2006-04-04 Atsushi Enomoto <[email protected]>
* BitVector32.cs : added operator== and != in 2.0.


svn path=/trunk/mcs/; revision=58990
2006-04-04 00:38:02 +00:00
Sebastien Pouliot 02406ae84c 2005-11-30 Sebastien Pouliot <[email protected]>
* BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
	* HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
	* IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
	* NameObjectCollectionBase.cs: Fixed 2.0 API changes and 
	serialization.
	* NameValueCollection.cs: Fixed 2.0 API changes.
	* OrderedDictionary.cs: Fixed API changes, serialization and this[int]
	setter.
	* StringDictionary.cs: Added missing null checks.


svn path=/trunk/mcs/; revision=53678
2005-11-30 13:55:28 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Duncan Mak e61457e5ba Integrate the patches contributed by Alon Gazit <[email protected]>.
* BitVector32.cs (CreateSection): Check that the new
calculated offset isn't more than 32 and not that the sum of the
new offset and the number of set bits is more than 32.
(this): Perform bitwise and with the complement of the mask
shifted version (~(section.Mask << section.Offset)) and not with
the shifted version of the mask's complement (~section.Mask <<
section.Offset).
(this): Currently doesn't return the correct value when the data
in the BitVector32 instance is negative.

* ListDictionary.cs (CopyTo): If the array is null, it should
throw ArgumentNullException. If the index is less than 0, it
should throw ArgumentOutOfRangeException.
(Remove): Throw ArgumentNullException when the parameter is null.

* BitVector32Test.cs (TestNegativeIndexer, TestSectionIndexer,
TestCreateSection): new tests from Alon Gazit <[email protected]>.

* ListDictionaryTest.cs (CopyTo1, CopyTo2, Remove): New file, with
tests from Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=17885
2003-09-04 19:16:30 +00:00
Andreas N 4014760d0b 2003-07-02 Andreas Nahr <[email protected]>
* BitVector32.cs: Implemented missing method
	* NameValueCollection.cs: Fixed public signature, Styleguidelined header
	* StringDictionary.cs: Added missing attribute, fixed visibilities

svn path=/trunk/mcs/; revision=15879
2003-07-02 22:06:24 +00:00
Miguel de Icaza f714f60559 2002-06-24 Andrew Birkett <[email protected]>
* BitVector32.cs: Implemented 'set' section indexer.  Check for
	overly large sections.	Factored out some helper methods.

svn path=/trunk/mcs/; revision=5593
2002-07-04 20:27:32 +00:00
Miguel de Icaza 3db47ebad9 Implement set for the BitVector
svn path=/trunk/mcs/; revision=5395
2002-06-21 18:12:03 +00:00
Lawrence Pit f31d7f7c44 * HybridDictionary.cs: implemented
* CollectionsUtil.cs: implemented
	* BitVector32.cs: implemeneted
	* Modified signature of method ListDictionary.GetEnumerator

svn path=/trunk/mcs/; revision=4458
2002-05-09 20:05:33 +00:00
Ravi Pratap M d65de221e9 2002-01-05 Ravi Pratap <[email protected]>
* BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!

	* NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.

svn path=/trunk/mcs/; revision=1859
2002-01-05 13:23:03 +00:00
Sean MacIsaac 7fc6d7d59d Fixed all sorts of compiler errors.
svn path=/trunk/mcs/; revision=124
2001-07-13 22:20:51 +00:00
Miguel de Icaza 25f95f44fc More files
svn path=/trunk/mcs/; revision=59
2001-07-06 15:48:55 +00:00