3 writes to HashCode
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (3)
520
entry.
HashCode
= hashCode;
1308
entry.
HashCode
= entry.Value != null ? comparer.GetHashCode(entry.Value) : 0;
1502
entry.
HashCode
= hashCode;
10 references to HashCode
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (10)
239
if (entry.
HashCode
== hashCode && EqualityComparer<T>.Default.Equals(entry.Value, item))
261
if (entry.
HashCode
== hashCode && comparer.Equals(entry.Value, item))
316
if (entry.
HashCode
== hashCode && (comparer?.Equals(entry.Value, item) ?? EqualityComparer<T>.Default.Equals(entry.Value, item)))
479
if (entry.
HashCode
== hashCode && comparer.Equals(item, entry.Value))
563
if (entry.
HashCode
== hashCode && comparer.Equals(item, entry.Value))
651
if (entry.
HashCode
== hashCode && comparer.Equals(item, entry.Value))
1323
ref int bucket = ref GetBucketRef(entry.
HashCode
);
1363
int hashCode = oldEntries![i].
HashCode
; // At this point, we know we have entries.
1439
if (entry.
HashCode
== hashCode && EqualityComparer<T>.Default.Equals(entry.Value, value))
1463
if (entry.
HashCode
== hashCode && comparer.Equals(entry.Value, value))