1 write to hashSet
Microsoft.DotNet.XUnitAssert.Tests (1)
Utility\ReadOnlySet.cs (1)
13
hashSet
= new HashSet<T>(items, comparer);
9 references to hashSet
Microsoft.DotNet.XUnitAssert.Tests (9)
Utility\ReadOnlySet.cs (9)
15
public int Count =>
hashSet
.Count;
17
public bool Contains(T item) =>
hashSet
.Contains(item);
18
public IEnumerator<T> GetEnumerator() =>
hashSet
.GetEnumerator();
19
public bool IsProperSubsetOf(IEnumerable<T> other) =>
hashSet
.IsProperSubsetOf(other);
20
public bool IsProperSupersetOf(IEnumerable<T> other) =>
hashSet
.IsProperSupersetOf(other);
21
public bool IsSubsetOf(IEnumerable<T> other) =>
hashSet
.IsSubsetOf(other);
22
public bool IsSupersetOf(IEnumerable<T> other) =>
hashSet
.IsSupersetOf(other);
23
public bool Overlaps(IEnumerable<T> other) =>
hashSet
.Overlaps(other);
24
public bool SetEquals(IEnumerable<T> other) =>
hashSet
.SetEquals(other);