5 references to HashCollisionThreshold
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
629
if (!typeof(TKey).IsValueType && collisionCount > HashHelpers.
HashCollisionThreshold
&& comparer is NonRandomizedStringEqualityComparer)
1039
if (!typeof(TKey).IsValueType && collisionCount > HashHelpers.
HashCollisionThreshold
&& comparer is NonRandomizedStringEqualityComparer)
1176
if (!typeof(TKey).IsValueType && collisionCount > HashHelpers.
HashCollisionThreshold
&& comparer is NonRandomizedStringEqualityComparer)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (2)
528
if (!typeof(T).IsValueType && collisionCount > HashHelpers.
HashCollisionThreshold
&& comparer is NonRandomizedStringEqualityComparer)
1511
if (!typeof(T).IsValueType && collisionCount > HashHelpers.
HashCollisionThreshold
&& comparer is NonRandomizedStringEqualityComparer)