1 write to HashIndex
System.Collections.Immutable (1)
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
40
HashIndex
= hashIndex;
16 references to HashIndex
System.Collections.Immutable (16)
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedCaseInsensitiveAsciiSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedCaseInsensitiveSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedSingleChar.cs (2)
27
private protected override int GetHashCode(string s) => s[
HashIndex
];
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => s[
HashIndex
];
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinal(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedCaseInsensitiveAsciiSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(s.Length +
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.Slice(s.Length +
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedCaseInsensitiveSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(s.Length +
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.Slice(s.Length +
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedSingleChar.cs (2)
27
private protected override int GetHashCode(string s) => s[s.Length +
HashIndex
];
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => s[s.Length +
HashIndex
];
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedSubstring.cs (2)
28
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(s.Length +
HashIndex
, HashCount));
29
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinal(s.Slice(s.Length +
HashIndex
, HashCount));