Exemplo n.º 1
0
 void IAstVisitor.VisitArrayCreateExpression(ArrayCreateExpression arraySCreateExpression)
 {
     Visit(EnterArrayCreateExpression, LeaveArrayCreateExpression, arraySCreateExpression);
 }
 public override void VisitArrayCreateExpression(ArrayCreateExpression arrayObjectCreateExpression)
 {
     FormatCommas(arrayObjectCreateExpression, policy.SpaceBeforeMethodCallParameterComma, policy.SpaceAfterMethodCallParameterComma);
     base.VisitArrayCreateExpression(arrayObjectCreateExpression);
 }
Exemplo n.º 3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ArrayCreateExpression o = other as ArrayCreateExpression;

            return(o != null && this.Type.DoMatch(o.Type, match) && this.Arguments.DoMatch(o.Arguments, match) && this.AdditionalArraySpecifiers.DoMatch(o.AdditionalArraySpecifiers, match) && this.Initializer.DoMatch(o.Initializer, match));
        }