示例#1
0
 public bool Equals(VariableIdentifier other)
 {
     return(((object)Symbol == null ? (object)other.Symbol == null : Symbol.Equals(other.Symbol)) && ContainingSlot == other.ContainingSlot);
 }
示例#2
0
 /// <summary>
 /// Check if this is equivalent to the <paramref name="other"/> node, ignoring the input.
 /// </summary>
 public virtual bool IsEquivalentTo(BoundDagEvaluation other)
 {
     return(this == other ||
            this.Kind == other.Kind &&
            Symbol.Equals(this.Symbol, other.Symbol, TypeCompareKind.AllIgnoreOptions));
 }