1 instantiation of ListInitExpression
System.Core (1)
Microsoft\Scripting\Ast\ListInitExpression.cs (1)
234return new ListInitExpression(newExpression, initializerlist);
61 references to ListInitExpression
System.Activities (8)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
464ListInitExpression listInit = (ListInitExpression)expression;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (4)
793ListInitExpression listInit = (ListInitExpression)expression; 1259ListInitExpression listInit = (ListInitExpression)expression;
System\Activities\ExpressionUtilities.cs (2)
989ListInitExpression listInit = (ListInitExpression)expression;
System.Core (38)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
815protected internal override Expression VisitListInit(ListInitExpression node) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
240private readonly ListInitExpression _node; 242public ListInitExpressionProxy(ListInitExpression node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
360protected internal override Expression VisitListInit(ListInitExpression node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
550/// Visits the children of the <see cref="ListInitExpression" />. 555protected internal virtual Expression VisitListInit(ListInitExpression node) {
Microsoft\Scripting\Ast\ListInitExpression.cs (26)
117public ListInitExpression Update(NewExpression newExpression, IEnumerable<ElementInit> initializers) { 128/// Creates a <see cref="ListInitExpression"/> that uses a method named "Add" to add elements to a collection. 131/// <param name="initializers">An array of <see cref="Expression"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</param> 132/// <returns>A <see cref="ListInitExpression"/> that has the <see cref="P:ListInitExpression.NodeType"/> property equal to ListInit and the <see cref="P:ListInitExpression.NewExpression"/> property set to the specified value.</returns> 133public static ListInitExpression ListInit(NewExpression newExpression, params Expression[] initializers) { 140/// Creates a <see cref="ListInitExpression"/> that uses a method named "Add" to add elements to a collection. 143/// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="M:ElementInit"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</param> 144/// <returns>A <see cref="ListInitExpression"/> that has the <see cref="P:ListInitExpression.NodeType"/> property equal to ListInit and the <see cref="P:ListInitExpression.NewExpression"/> property set to the specified value.</returns> 145public static ListInitExpression ListInit(NewExpression newExpression, IEnumerable<Expression> initializers) { 159/// Creates a <see cref="ListInitExpression"/> that uses a specified method to add elements to a collection. 163/// <param name="initializers">An array of <see cref="Expression"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</param> 164/// <returns>A <see cref="ListInitExpression"/> that has the <see cref="P:ListInitExpression.NodeType"/> property equal to ListInit and the <see cref="P:ListInitExpression.NewExpression"/> property set to the specified value.</returns> 165public static ListInitExpression ListInit(NewExpression newExpression, MethodInfo addMethod, params Expression[] initializers) { 175/// Creates a <see cref="ListInitExpression"/> that uses a specified method to add elements to a collection. 180/// <returns>A <see cref="ListInitExpression"/> that has the <see cref="P:ListInitExpression.NodeType"/> property equal to ListInit and the <see cref="P:ListInitExpression.NewExpression"/> property set to the specified value.</returns> 181public static ListInitExpression ListInit(NewExpression newExpression, MethodInfo addMethod, IEnumerable<Expression> initializers) { 200/// Creates a <see cref="ListInitExpression"/> that uses specified <see cref="M:ElementInit"/> objects to initialize a collection. 203/// <param name="initializers">An array that contains <see cref="M:ElementInit"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</param> 205/// A <see cref="ListInitExpression"/> that has the <see cref="P:Expressions.NodeType"/> property equal to ListInit 210/// The <see cref="P:Expressions.Type"/> property of the resulting <see cref="ListInitExpression"/> is equal to newExpression.Type. 212public static ListInitExpression ListInit(NewExpression newExpression, params ElementInit[] initializers) { 217/// Creates a <see cref="ListInitExpression"/> that uses specified <see cref="M:ElementInit"/> objects to initialize a collection. 220/// <param name="initializers">An <see cref="IEnumerable{T}"/> that contains <see cref="M:ElementInit"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</param> 221/// <returns>An <see cref="IEnumerable{T}"/> that contains <see cref="M:ElementInit"/> objects to use to populate the <see cref="ListInitExpression.Initializers"/> collection.</returns> 224/// The <see cref="P:Expressions.Type"/> property of the resulting <see cref="ListInitExpression"/> is equal to newExpression.Type. 226public static ListInitExpression ListInit(NewExpression newExpression, IEnumerable<ElementInit> initializers) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
774EmitListInit((ListInitExpression)expr); 871private void EmitListInit(ListInitExpression init) {
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
577ListInitExpression node = (ListInitExpression)expr;
System\Linq\Expressions\ExpressionVisitor.cs (2)
81return this.VisitListInit((ListInitExpression)exp); 290internal virtual Expression VisitListInit(ListInitExpression init) {
System.Data.Entity (4)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
90return this.VisitListInit((ListInitExpression)exp); 340internal virtual Expression VisitListInit(ListInitExpression init)
System\Data\Objects\ELinq\Translator.cs (2)
789: TypedTranslator<ListInitExpression> 793protected override DbExpression TypedTranslate(ExpressionConverter parent, ListInitExpression linq)
System.Data.Linq (4)
SqlClient\Query\Funcletizer.cs (2)
208return this.VisitListInit((ListInitExpression)exp); 414internal virtual Expression VisitListInit(ListInitExpression init) {
SqlClient\Query\QueryConverter.cs (2)
213return this.VisitListInit((ListInitExpression)node); 2690private SqlExpression VisitListInit(ListInitExpression list) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
169return this.VisitListInit((ListInitExpression)exp); 559internal virtual Expression VisitListInit(ListInitExpression init)
System.Data.Services.Client (5)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
169return this.VisitListInit((ListInitExpression)exp); 559internal virtual Expression VisitListInit(ListInitExpression init)
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
142internal override Expression VisitListInit(ListInitExpression init)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
448internal override Expression VisitListInit(ListInitExpression init)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
187internal override Expression VisitListInit(ListInitExpression init)