3 references to EffectiveEqualityComparersAreEqual
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (3)
95if (collection is HashSet<T> otherAsHashSet && EffectiveEqualityComparersAreEqual(this, otherAsHashSet)) 148Debug.Assert(EffectiveEqualityComparersAreEqual(this, source), "must use identical effective comparers."); 811if (Count == 0 && other is HashSet<T> otherAsSet && EffectiveEqualityComparersAreEqual(this, otherAsSet))