1 write to HashIndex
System.Collections.Immutable (1)
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
31
HashIndex
= hashIndex;
16 references to HashIndex
System.Collections.Immutable (16)
System\Collections\Frozen\String\OrdinalStringFrozenSet_LeftJustifiedCaseInsensitiveAsciiSubstring.cs (2)
27
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(
HashIndex
, HashCount));
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenSet_LeftJustifiedCaseInsensitiveSubstring.cs (2)
27
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(
HashIndex
, HashCount));
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenSet_LeftJustifiedSingleChar.cs (2)
24
private protected override int GetHashCode(string s) => s[
HashIndex
];
25
private protected override int GetHashCode(ReadOnlySpan<char> s) => s[
HashIndex
];
System\Collections\Frozen\String\OrdinalStringFrozenSet_LeftJustifiedSubstring.cs (2)
25
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(
HashIndex
, HashCount));
26
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinal(s.Slice(
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenSet_RightJustifiedCaseInsensitiveAsciiSubstring.cs (2)
27
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(s.Length +
HashIndex
, HashCount));
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.Slice(s.Length +
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenSet_RightJustifiedCaseInsensitiveSubstring.cs (2)
27
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(s.Length +
HashIndex
, HashCount));
28
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.Slice(s.Length +
HashIndex
, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenSet_RightJustifiedSingleChar.cs (2)
24
private protected override int GetHashCode(string s) => s[s.Length +
HashIndex
];
25
private protected override int GetHashCode(ReadOnlySpan<char> s) => s[s.Length +
HashIndex
];
System\Collections\Frozen\String\OrdinalStringFrozenSet_RightJustifiedSubstring.cs (2)
25
private protected override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(s.Length +
HashIndex
, HashCount));
26
private protected override int GetHashCode(ReadOnlySpan<char> s) => Hashing.GetHashCodeOrdinal(s.Slice(s.Length +
HashIndex
, HashCount));