1 write to _hashCode
Microsoft.CodeAnalysis.Workspaces (1)
SegmentedHashSet`1.cs (1)
1089entry._hashCode = hashCode;
9 references to _hashCode
Microsoft.CodeAnalysis.Workspaces (9)
SegmentedHashSet`1.cs (9)
225if (entry._hashCode == hashCode && EqualityComparer<T>.Default.Equals(entry._value, item)) 248if (entry._hashCode == hashCode && defaultComparer.Equals(entry._value, item)) 270if (entry._hashCode == hashCode && comparer.Equals(entry._value, item)) 315if (entry._hashCode == hashCode && (_comparer?.Equals(entry._value, item) ?? EqualityComparer<T>.Default.Equals(entry._value, item))) 897ref var bucket = ref GetBucketRef(entry._hashCode); 929var hashCode = oldEntries[i]._hashCode; // At this point, we know we have entries. 1003if (entry._hashCode == hashCode && EqualityComparer<T>.Default.Equals(entry._value, value)) 1026if (entry._hashCode == hashCode && defaultComparer.Equals(entry._value, value)) 1050if (entry._hashCode == hashCode && comparer.Equals(entry._value, value))