public bool Equals(AsciiString other) { if (ReferenceEquals(this, other)) { return(true); } return(other is object && this.length == other.length && this.GetHashCode() == other.GetHashCode() && this.AsciiSpan.SequenceEqual(other.AsciiSpan)); }
public int HashCode(ICharSequence obj) => AsciiString.GetHashCode(obj);