public bool Equals(VariableIdentifier other) { return(((object)Symbol == null ? (object)other.Symbol == null : Symbol.Equals(other.Symbol)) && ContainingSlot == other.ContainingSlot); }
/// <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)); }