* HashSet.cs (Enumerator.IEnumerator.Reset): Check invariants.
[mono.git] / mcs / class / System.Core / System.Collections.Generic / ChangeLog
1 2009-07-30  Raja R Harinath  <harinath@hurrynot.org>
2
3         * HashSet.cs (Enumerator.CheckCurrent): Inline into ...
4         (Enumerator.IEnumerator.Current): ... this.
5         (Enumerator.IEnumerator.Reset): Check invariants.
6
7 2009-07-30  Raja R Harinath  <harinath@hurrynot.org>
8
9         * HashSet.cs (Enumerator.next): Rename from Enumerator.current and
10         change meaning to be the index of the slot to start searching on
11         the next iteration.
12         (Enumerator.current): New.  Contains the current element.
13         (Enumerator.MoveNext): Update.  Avoid an out-of-bounds access.
14         (Enumerator.Current): Don't check any invariants.
15
16 2009-07-09  Jb Evain  <jbevain@novell.com>
17
18         * HashSet.cs (ICollection<T>.Add): fix for bug #520760. Do not throw
19         when adding duplicates.
20
21 2009-01-27  Jb Evain  <jbevain@novell.com>
22
23         * HashSet.cs: use Paolo's trick to return items in insertion order
24         when possible.
25
26 2008-12-17  Jb Evain  <jbevain@novell.com>
27
28         * HashSet.cs (CopyTo): fix logic.
29
30 2008-09-12  Jb Evain  <jbevain@novell.com>
31
32         * HashSet.cs (.ctor (IEnumerable<T>,*)): only get the count of the
33         enumerable if the source collection implements ICollection<T>, so that
34         we only iterate once over the source collection.
35
36 2008-04-29  Jb Evain  <jbevain@novell.com>
37
38         * HashSet.cs: clear empty slots to allow the GC to collect
39         their values.
40
41 2007-11-30  Jb Evain  <jbevain@novell.com>
42
43         * HashSet.cs: corcompare love.
44
45 2007-11-28  Jb Evain  <jbevain@novell.com>
46
47         * HashSet.cs: do the ArgumentNullException dance.
48
49 2007-11-28  Jb Evain  <jbevain@novell.com>
50
51         * HashSet.cs: start implementation of HashSet<T>, actually
52         implemented as a reduction of Dictionary<K, V>. Contains
53         basic set operations (that requires optimization though).
54
55 2007-08-12  Marek Safar  <marek.safar@gmail.com>
56
57     * Initial commit