internal int CompareToCore(StateKey other) { if (ReferenceEquals(this, other)) { return(0); } if (ReferenceEquals(null, other)) { return(1); } return(string.Compare(Name, other.Name, StringComparison.OrdinalIgnoreCase)); }
internal bool EqualsCore(StateKey other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase)); }