4 references to SegmentedHashSet
Microsoft.CodeAnalysis.UnitTests (4)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (4)
89
SegmentedHashSet<T> set = new
SegmentedHashSet
<T>(enumerable);
98
SegmentedHashSet<T> hashSetFromDuplicates = new
SegmentedHashSet
<T>(Enumerable.Range(0, 40).SelectMany(i => items).ToArray());
99
SegmentedHashSet<T> hashSetFromNoDuplicates = new
SegmentedHashSet
<T>(items);
119
Assert.Throws<ArgumentNullException>(() => new
SegmentedHashSet
<T>((IEnumerable<T>)null!));