public override SyntaxNode VisitExpressionStatement(ExpressionStatementSyntax node) { var expression = this.Visit(node.Expression); if (expression is IfStatementSyntax) { return expression; } else { var semicolonToken = this.VisitToken(node.SemicolonToken); return node.Update((ExpressionSyntax)expression, semicolonToken); } }