6 references to SegmentedHashSet
Microsoft.CodeAnalysis (1)
SegmentedHashSet`1.cs (1)
84
public SegmentedHashSet(int capacity) :
this
(capacity, null) { }
Microsoft.CodeAnalysis.UnitTests (5)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (5)
406
SegmentedHashSet<T> set = new
SegmentedHashSet
<T>(capacity, comparer);
419
SegmentedHashSet<T> set = new
SegmentedHashSet
<T>(capacity, comparer);
432
Assert.Throws<ArgumentOutOfRangeException>("capacity", () => new
SegmentedHashSet
<T>(-1, comparer));
433
Assert.Throws<ArgumentOutOfRangeException>("capacity", () => new
SegmentedHashSet
<T>(int.MinValue, comparer));
652
var set = new
SegmentedHashSet
<T>(capacity, c);