7 references to SegmentedHashSet
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
101
public SegmentedHashSet(int capacity) :
this
(capacity, null) { }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MergedNamespaceSymbol.cs (1)
176
var childNames = new
SegmentedHashSet
<ReadOnlyMemory<char>>(childCount, comparer);
Microsoft.CodeAnalysis.UnitTests (5)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (5)
408
SegmentedHashSet<T> set = new
SegmentedHashSet
<T>(capacity, comparer);
421
SegmentedHashSet<T> set = new
SegmentedHashSet
<T>(capacity, comparer);
434
Assert.Throws<ArgumentOutOfRangeException>("capacity", () => new
SegmentedHashSet
<T>(-1, comparer));
435
Assert.Throws<ArgumentOutOfRangeException>("capacity", () => new
SegmentedHashSet
<T>(int.MinValue, comparer));
654
var set = new
SegmentedHashSet
<T>(capacity, c);