Files
mono/mcs/class/System.Core/Test/System.Collections.Generic/ChangeLog
T
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

22 lines
565 B
Plaintext

2009-07-30 Raja R Harinath <[email protected]>
* HashSetTest.cs (Enumerate_Current): New test, including cases
from #491858, #517415.
2009-07-09 Jb Evain <[email protected]>
* HashSetTest.cs: add test for #520760, ICollection<T>.Add
should not throw on duplicates.
2008-12-17 Jb Evain <[email protected]>
* HashSetTest.cs: add test for CopyTo.
2008-05-15 Roei Erez <[email protected]>
* HashSetTest.cs: temporary exclude CopyTo in JAVAEE environment
2007-11-28 Jb Evain <[email protected]>
* HashSetTest.cs: tests for HashSet<T>.