예제 #1
0
 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);
 }