14 references to NewArrayInit
System.Linq.Expressions (13)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
903
if (node.NodeType == ExpressionType.
NewArrayInit
)
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
122
case ExpressionType.
NewArrayInit
:
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
471
if (node.NodeType == ExpressionType.
NewArrayInit
)
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
108
case ExpressionType.
NewArrayInit
:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
549
case ExpressionType.
NewArrayInit
:
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2528
if (node.NodeType == ExpressionType.
NewArrayInit
)
3079
case ExpressionType.
NewArrayInit
:
System\Linq\Expressions\NewArrayExpression.cs (6)
29
if (nodeType == ExpressionType.
NewArrayInit
)
75
return NodeType == ExpressionType.
NewArrayInit
94
public 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>
178
return NewArrayExpression.Make(ExpressionType.
NewArrayInit
, type.MakeArrayType(), initializerList);
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
102
if (!type.IsAssignableFrom(expr.Type) && type.IsArray && expr.NodeType == ExpressionType.
NewArrayInit
)