6 references to NewArrayInit
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
133return 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) 125return NewArrayInit(type, (IEnumerable<Expression>)initializers); 185return NewArrayInit(typeof(object), initializers);
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
114expression = Expression.NewArrayInit(elementType, exprs);