1 write to Count
System.Collections.Immutable (1)
System\Collections\Frozen\String\KeyAnalyzer.cs (1)
78
comparer.
Count
= count;
9 references to Count
System.Collections.Immutable (9)
System\Collections\Frozen\String\KeyAnalyzer.cs (9)
312
public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index),
Count
).SequenceEqual(y.AsSpan(IsLeft ? Index : (y!.Length + Index),
Count
));
313
public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(IsLeft ? Index : (s.Length + Index),
Count
));
318
public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index),
Count
).Equals(y.AsSpan(IsLeft ? Index : (y!.Length + Index),
Count
), StringComparison.OrdinalIgnoreCase);
319
public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(IsLeft ? Index : (s.Length + Index),
Count
));
324
public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index),
Count
).Equals(y.AsSpan(IsLeft ? Index : (y!.Length + Index),
Count
), StringComparison.OrdinalIgnoreCase);
325
public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(IsLeft ? Index : (s.Length + Index),
Count
));