public static Expression Replace( Expression expression, Func<Expression, bool> condition, Func<Expression, Expression> modifier) { ReplaceVisitor visitor = new ReplaceVisitor(condition, modifier); return visitor.Visit(expression); }