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