public override SyntaxNode VisitArrayType(ArrayTypeSyntax node) { bool oldAlwaysSimplify = this.alwaysSimplify; if (!this.alwaysSimplify) { this.alwaysSimplify = node.HasAnnotation(Simplifier.Annotation); } var result = base.VisitArrayType(node); this.alwaysSimplify = oldAlwaysSimplify; return(result); }
public override SyntaxNode VisitArrayType(ArrayTypeSyntax node) { var oldAlwaysSimplify = this.alwaysSimplify; if (!this.alwaysSimplify) { this.alwaysSimplify = node.HasAnnotation(Simplifier.Annotation); } var result = SimplifyExpression( node, newNode: base.VisitArrayType(node), simplifier: s_simplifyName); this.alwaysSimplify = oldAlwaysSimplify; return(result); }
public override SyntaxNode VisitArrayType(ArrayTypeSyntax node) { bool oldAlwaysSimplify = this.alwaysSimplify; if (!this.alwaysSimplify) { this.alwaysSimplify = node.HasAnnotation(Simplifier.Annotation); } var result = base.VisitArrayType(node); this.alwaysSimplify = oldAlwaysSimplify; return result; }