public override bool Equals(Expression other) { if (!(other is RefVariableDeclarationExpression)) { return(false); } RefVariableDeclarationExpression otherVar = other as RefVariableDeclarationExpression; return(this.Variable.Resolve() == otherVar.Variable.Resolve()); }
public override Expression CloneExpressionOnly() { RefVariableDeclarationExpression result = new RefVariableDeclarationExpression(Variable, null); return(result); }