Esempio n. 1
0
 public bool Equals(ParsedCommandNode <TSource> other)
 {
     if (other is null)
     {
         return(false);
     }
     return(ReferenceEquals(this, other) || EqualsInternal(other));
 }
 public bool Equals(ParsedCommandNode <TSource> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(Node, other.Node) && Equals(Range, other.Range));
 }
Esempio n. 3
0
 private bool EqualsInternal(ParsedCommandNode <TSource> other)
 {
     return(Equals(Node, other.Node) && Range.Equals(other.Range));
 }