protected virtual Expression VisitStatementExpression(StatementExpression expression) { var ex = this.Visit(expression.Expression); if (ex != expression.Expression) { return ex.ToStatement(); } return expression; }
protected override Expression VisitStatementExpression(StatementExpression expression) { this.Visit(expression.Expression); this.WriteLine(';'); return expression; }