14 references to NewArrayInit
System.Linq.Expressions (13)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
903if (node.NodeType == ExpressionType.NewArrayInit)
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
122case ExpressionType.NewArrayInit:
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
471if (node.NodeType == ExpressionType.NewArrayInit)
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
108case ExpressionType.NewArrayInit:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
549case ExpressionType.NewArrayInit:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2528if (node.NodeType == ExpressionType.NewArrayInit) 3079case ExpressionType.NewArrayInit:
System\Linq\Expressions\NewArrayExpression.cs (6)
29if (nodeType == ExpressionType.NewArrayInit) 75return NodeType == ExpressionType.NewArrayInit 94public sealed override ExpressionType NodeType => ExpressionType.NewArrayInit; 121/// <returns>A <see cref="NewArrayExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.NewArrayInit"/> and the <see cref="NewArrayExpression.Expressions"/> property set to the specified value.</returns> 133/// <returns>A <see cref="NewArrayExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.NewArrayInit"/> and the <see cref="NewArrayExpression.Expressions"/> property set to the specified value.</returns> 178return NewArrayExpression.Make(ExpressionType.NewArrayInit, type.MakeArrayType(), initializerList);
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
102if (!type.IsAssignableFrom(expr.Type) && type.IsArray && expr.NodeType == ExpressionType.NewArrayInit)