Commit Graph
8 Commits
Author SHA1 Message Date
Leonardo Taglialegne 6c3e614cc5 Fix off-by-one error in ArraySegment 2013-11-05 20:49:21 +01:00
Marek Safar e3f041ed65 Implement 4.5 ArraySegment 2012-06-07 11:38:53 +01:00
Miguel de Icaza f4b37857a1 2009-10-16 Miguel de Icaza <[email protected]>
* Jumbo patch to drop support for pre-NET_2_0 code:

	Remove ONLY_1_1 code
	Remove NET_1_0 only code
	Remove NET_2_0 defines assuming the value is true.

	Improve one MonoTODO;   Implement one MonoTODO/Niex.

	Ran a textual diff on the resulting assembly to validate that the
	restul is the same on NET_2_0


svn path=/trunk/mcs/; revision=144298
2009-10-17 00:43:59 +00:00
Miguel de Icaza 529c4bebd1 2007-01-14 Jensen Somers <[email protected]>
* ArraySegment.cs: Added Equals() method, operator == and !=
    overloading and GetHashCode().


2007-01-14  Jensen Somers <[email protected]>

    * ArraySegmentTest.cs: Add a test case for the ArraySegment.Equals
    functionality.


svn path=/trunk/mcs/; revision=70997
2007-01-14 23:16:49 +00:00
Ankit Jain b545d7a564 In System:
* ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
	'count'.

In Test/System:
	* ArraySegmentTest.cs: New.

svn path=/trunk/mcs/; revision=56850
2006-02-14 12:18:14 +00:00
Ben Maurer 476aae2685 * *.cs: More 2.0 API fixups
svn path=/trunk/mcs/; revision=45411
2005-06-04 18:18:17 +00:00
Ben Maurer b52d646c3c 2005-06-04 Ben Maurer <[email protected]>
* *.cs: In beta 2, generics are no longer non-cls-compliant.


svn path=/trunk/mcs/; revision=45408
2005-06-04 18:00:46 +00:00
Ben Maurer 3939fcd228 2004-06-18 Ben Maurer <[email protected]>
* Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
	new generics classes
	* IComparable.cs: add the new <T> version.
	* EventHandler.cs: new <T> version.

svn path=/trunk/mcs/; revision=29899
2004-06-18 17:18:10 +00:00