public virtual void VisitArrayCreationExpression(ArrayCreationExpressionSyntax node)
 {
     DefaultVisit(node);
 }
示例#2
0
        public static ArrayCreationExpressionSyntax ArrayCreationExpression(ArrayTypeSyntax type = null, InitializerExpressionSyntax initializer = null)
        {
            var result = new ArrayCreationExpressionSyntax();

            result.Type = type;
            result.Initializer = initializer;

            return result;
        }
示例#3
0
        public static ArrayCreationExpressionSyntax ArrayCreationExpression(string type = null, InitializerExpressionSyntax initializer = null)
        {
            var result = new ArrayCreationExpressionSyntax();

            if (type != null)
                result.Type = (ArrayTypeSyntax)ParseName(type);
            result.Initializer = initializer;

            return result;
        }
示例#4
0
 public virtual void VisitArrayCreationExpression(ArrayCreationExpressionSyntax node)
 {
     DefaultVisit(node);
 }