1 instantiation of ExprArrayInit
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
20
new
ExprArrayInit
(type, arguments, argumentDimensions, dimSizes);
23 references to ExprArrayInit
Microsoft.CSharp (23)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (9)
251
ExprArrayInit
arrinit;
257
arrinit = (
ExprArrayInit
)next.OptionalNextListNode;
307
indices = GetArgumentsFromArrayInit((
ExprArrayInit
)list.OptionalNextListNode);
392
ExprArrayInit
arguments;
396
arguments = nextList.OptionalNextListNode as
ExprArrayInit
;
457
GetArgumentsFromArrayInit(list.OptionalNextListNode as
ExprArrayInit
));
468
Expression[] arguments = GetArgumentsFromArrayInit(list.OptionalNextListNode as
ExprArrayInit
);
800
GetArgumentsFromArrayInit((
ExprArrayInit
)list.OptionalNextListNode));
888
private Expression[] GetArgumentsFromArrayInit(
ExprArrayInit
arrinit)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
903
else if (pArg is
ExprArrayInit
init)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
1154
ExprArrayInit
arrayInit = ExprFactory.CreateArrayInit(arrayType, null, null, s_zero);
1232
ExprArrayInit
exprArrayInit = ExprFactory.CreateArrayInit(substitutedArrayType, null, null, s_zero);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
19
public static
ExprArrayInit
CreateArrayInit(CType type, Expr arguments, Expr argumentDimensions, int[] dimSizes) =>
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
429
pArguments.prgexpr[index] is
ExprArrayInit
arrayInit && arrayInit.GeneratedForParamArray)
437
!(pArguments.prgexpr[index] is
ExprArrayInit
arrayInitPos && arrayInitPos.GeneratedForParamArray))
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
335
protected override Expr VisitARRINIT(
ExprArrayInit
expr)
962
private static
ExprArrayInit
GenerateParamsArray(Expr args, PredefinedType pt)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (6)
33
ExpressionKind.ArrayInit => VisitARRINIT(pExpr as
ExprArrayInit
),
271
exprRet = Visit((pExpr as
ExprArrayInit
).OptionalArguments);
272
(pExpr as
ExprArrayInit
).OptionalArguments = exprRet;
273
exprRet = Visit((pExpr as
ExprArrayInit
).OptionalArgumentDimensions);
274
(pExpr as
ExprArrayInit
).OptionalArgumentDimensions = exprRet;
424
protected virtual Expr VisitARRINIT(
ExprArrayInit
pExpr)