1 write to HashCodes
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenHashTable.cs (1)
33HashCodes = hashCodes;
20 references to HashCodes
System.Collections.Immutable (20)
System\Collections\Frozen\DefaultFrozenDictionary.AlternateLookup.cs (1)
22if (hashCode == _hashTable.HashCodes[index] && comparer.Equals(key, _keys[index]))
System\Collections\Frozen\DefaultFrozenDictionary.cs (1)
30if (hashCode == _hashTable.HashCodes[index])
System\Collections\Frozen\DefaultFrozenSet.AlternateLookup.cs (1)
20if (hashCode == _hashTable.HashCodes[index] && comparer.Equals(item, _items[index]))
System\Collections\Frozen\DefaultFrozenSet.cs (1)
27if (hashCode == _hashTable.HashCodes[index])
System\Collections\Frozen\FrozenHashTable.cs (2)
44/// <see cref="FindMatchingEntries(int, out int, out int)"/> then uses this index to reference individual entries by indexing into <see cref="HashCodes"/>. 134public int Count => HashCodes.Length;
System\Collections\Frozen\Int32\Int32FrozenDictionary.AlternateLookup.cs (1)
20int[] hashCodes = _hashTable.HashCodes;
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (3)
51private protected override int[] KeysCore => _hashTable.HashCodes; 57private protected override Enumerator GetEnumeratorCore() => new Enumerator(_hashTable.HashCodes, _values); 68int[] hashCodes = _hashTable.HashCodes;
System\Collections\Frozen\Int32\Int32FrozenSet.AlternateLookup.cs (1)
19int[] hashCodes = _hashTable.HashCodes;
System\Collections\Frozen\Int32\Int32FrozenSet.cs (3)
34private protected override int[] ItemsCore => _hashTable.HashCodes; 37private protected override Enumerator GetEnumeratorCore() => new Enumerator(_hashTable.HashCodes); 47int[] hashCodes = _hashTable.HashCodes;
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.AlternateLookup.cs (1)
34if (hashCode == _hashTable.HashCodes[index] && Equals(key, _keys[index]))
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
94if (hashCode == _hashTable.HashCodes[index])
System\Collections\Frozen\String\OrdinalStringFrozenSet.AlternateLookup.cs (1)
33if (hashCode == _hashTable.HashCodes[index] && Equals(item, _items[index]))
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
84if (hashCode == _hashTable.HashCodes[index] && Equals(item, _items[index]))
System\Collections\Frozen\ValueTypeDefaultComparerFrozenDictionary.cs (1)
30if (hashCode == _hashTable.HashCodes[index])
System\Collections\Frozen\ValueTypeDefaultComparerFrozenSet.cs (1)
27if (hashCode == _hashTable.HashCodes[index])