1 write to HashCodes
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenHashTable.cs (1)
33
HashCodes
= hashCodes;
20 references to HashCodes
System.Collections.Immutable (20)
System\Collections\Frozen\DefaultFrozenDictionary.AlternateLookup.cs (1)
22
if (hashCode == _hashTable.
HashCodes
[index] && comparer.Equals(key, _keys[index]))
System\Collections\Frozen\DefaultFrozenDictionary.cs (1)
30
if (hashCode == _hashTable.
HashCodes
[index])
System\Collections\Frozen\DefaultFrozenSet.AlternateLookup.cs (1)
20
if (hashCode == _hashTable.
HashCodes
[index] && comparer.Equals(item, _items[index]))
System\Collections\Frozen\DefaultFrozenSet.cs (1)
27
if (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
"/>.
134
public int Count =>
HashCodes
.Length;
System\Collections\Frozen\Int32\Int32FrozenDictionary.AlternateLookup.cs (1)
20
int[] hashCodes = _hashTable.
HashCodes
;
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (3)
51
private protected override int[] KeysCore => _hashTable.
HashCodes
;
57
private protected override Enumerator GetEnumeratorCore() => new Enumerator(_hashTable.
HashCodes
, _values);
68
int[] hashCodes = _hashTable.
HashCodes
;
System\Collections\Frozen\Int32\Int32FrozenSet.AlternateLookup.cs (1)
19
int[] hashCodes = _hashTable.
HashCodes
;
System\Collections\Frozen\Int32\Int32FrozenSet.cs (3)
34
private protected override int[] ItemsCore => _hashTable.
HashCodes
;
37
private protected override Enumerator GetEnumeratorCore() => new Enumerator(_hashTable.
HashCodes
);
47
int[] hashCodes = _hashTable.
HashCodes
;
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.AlternateLookup.cs (1)
34
if (hashCode == _hashTable.
HashCodes
[index] && Equals(key, _keys[index]))
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
94
if (hashCode == _hashTable.
HashCodes
[index])
System\Collections\Frozen\String\OrdinalStringFrozenSet.AlternateLookup.cs (1)
33
if (hashCode == _hashTable.
HashCodes
[index] && Equals(item, _items[index]))
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
84
if (hashCode == _hashTable.
HashCodes
[index] && Equals(item, _items[index]))
System\Collections\Frozen\ValueTypeDefaultComparerFrozenDictionary.cs (1)
30
if (hashCode == _hashTable.
HashCodes
[index])
System\Collections\Frozen\ValueTypeDefaultComparerFrozenSet.cs (1)
27
if (hashCode == _hashTable.
HashCodes
[index])