public bool Equals(LiteralCommandNode <TSource> other) { if (other is null) { return(false); } return(ReferenceEquals(this, other) || EqualsInternal(other)); }
public bool Equals(LiteralCommandNode <TSource> other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Literal, other.Literal)); }
private bool EqualsInternal(LiteralCommandNode <TSource> other) { return(Equals(Literal, other.Literal)); }