6 references to NewArrayInit
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
133
return Expression.
NewArrayInit
(elementType, expr);
System.Linq.Expressions (4)
System\Linq\Expressions\IndexExpression.cs (1)
171
/// or through <see cref="NewArrayBounds(Type, IEnumerable{Expression})"/> or <see cref="
NewArrayInit
(Type, IEnumerable{Expression})"/>.</remarks>
System\Linq\Expressions\NewArrayExpression.cs (3)
76
?
NewArrayInit
(Type.GetElementType()!, expressions)
125
return
NewArrayInit
(type, (IEnumerable<Expression>)initializers);
185
return
NewArrayInit
(typeof(object), initializers);
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
114
expression = Expression.
NewArrayInit
(elementType, exprs);