Commit Graph
15 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar 633db36bd3 [System.Core] Don't auto increment when trimming hashset. Fixes #18687 2014-04-09 21:19:11 +02:00
Enrico Sada 15b9cc32d4 Use HashSet.Comparer for set methods with IEnumerable collection
fix bug 6373 ( https://bugzilla.xamarin.com/show_bug.cgi?id=6373 )
2012-08-04 19:06:19 +02:00
Jérémie Laval c4d8a92388 Implement CreateSetComparer method in HashSet 2010-12-09 16:00:15 +00:00
Jb Evain c69b9183f1 Add test for #572084, issue with SymmetricWith and duplicate items 2010-08-19 16:52:14 +02:00
Gonzalo Paniagua Javier 4260619e7b 2010-02-13 Gonzalo Paniagua Javier <[email protected]>
* Test/System.Collections.Generic/HashSetTest.cs:
	* System.Collections.Generic/HashSet.cs: fix and test for bug #579791.
	Patch from Tiaan Geldenhuys.


svn path=/trunk/mcs/; revision=151705
2010-02-13 17:48:34 +00:00
Zoltan Varga 36dcaf4d3f 2009-08-30 Zoltan Varga <[email protected]>
* HashSetTest.cs: Fix warnings.

svn path=/trunk/mcs/; revision=140934
2009-08-30 00:03:10 +00:00
Raja R Harinath 16b5f90d63 Fix HashSet<>-related parts of #491858, #517415
* System.Collections.Generic/HashSet.cs (Enumerator.next): Rename from
Enumerator.current and change meaning to be the index of the slot to start
searching on the next iteration.
(Enumerator.current): New.  Contains the current element.
(Enumerator.MoveNext): Update.  Avoid an out-of-bounds access.
(Enumerator.Current): Don't check any invariants.
* Test/System.Collections.Generic/HashSetTest.cs (Enumerate_Current):
New test, including cases from #491858, #517415.

svn path=/trunk/mcs/; revision=139105
2009-07-30 17:49:41 +00:00
Jb Evain 24fd267519 oops
svn path=/trunk/mcs/; revision=137655
2009-07-09 19:22:40 +00:00
Jb Evain 98e665927e 2009-07-09 Jb Evain <[email protected]>
* HashSetTest.cs: add test for #520760, ICollection<T>.Add
	should not throw on duplicates.


svn path=/trunk/mcs/; revision=137652
2009-07-09 19:11:23 +00:00
Jb Evain dee331ec14 more tests
svn path=/trunk/mcs/; revision=121706
2008-12-17 16:39:04 +00:00
Jb Evain a0f6f1823c 2008-12-17 Jb Evain <[email protected]>
* HashSetTest.cs: add test for CopyTo.


svn path=/trunk/mcs/; revision=121701
2008-12-17 16:14:55 +00:00
Roei Erez 8aa568dd5b temporary exclude HashSet.CopyTo test in JAVAEE environment.
svn path=/trunk/mcs/; revision=103270
2008-05-15 12:54:55 +00:00
Jb Evain 1d859cd551 avoid another visual tree of tests
svn path=/trunk/mcs/; revision=92523
2008-01-09 16:17:30 +00:00
Jb Evain d4796fc918 tests for HashSet
svn path=/trunk/mcs/; revision=90407
2007-11-28 20:56:02 +00:00