11 overrides of GetHashCode
System.Collections.Immutable (11)
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_Full.cs (1)
30
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan());
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_FullCaseInsensitive.cs (1)
30
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan());
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_FullCaseInsensitiveAscii.cs (1)
30
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan());
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedCaseInsensitiveAsciiSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(HashIndex, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedCaseInsensitiveSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(HashIndex, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedSingleChar.cs (1)
27
private protected override int
GetHashCode
(string s) => s[HashIndex];
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_LeftJustifiedSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(HashIndex, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedCaseInsensitiveAsciiSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(s.Length + HashIndex, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedCaseInsensitiveSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(s.Length + HashIndex, HashCount));
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedSingleChar.cs (1)
27
private protected override int
GetHashCode
(string s) => s[s.Length + HashIndex];
System\Collections\Frozen\String\OrdinalStringFrozenDictionary_RightJustifiedSubstring.cs (1)
28
private protected override int
GetHashCode
(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(s.Length + HashIndex, HashCount));
2 references to GetHashCode
System.Collections.Immutable (2)
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (2)
47
hashCodes[i] =
GetHashCode
(keys[i]);
89
int hashCode =
GetHashCode
(key);