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