1 instantiation of ListInitExpression
System.Core (1)
Microsoft\Scripting\Ast\ListInitExpression.cs (1)
234
return new
ListInitExpression
(newExpression, initializerlist);
61 references to ListInitExpression
System.Activities (8)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
464
ListInitExpression
listInit = (
ListInitExpression
)expression;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (4)
793
ListInitExpression
listInit = (
ListInitExpression
)expression;
1259
ListInitExpression
listInit = (
ListInitExpression
)expression;
System\Activities\ExpressionUtilities.cs (2)
989
ListInitExpression
listInit = (
ListInitExpression
)expression;
System.Core (38)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
815
protected internal override Expression VisitListInit(
ListInitExpression
node) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
240
private readonly
ListInitExpression
_node;
242
public ListInitExpressionProxy(
ListInitExpression
node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
360
protected internal override Expression VisitListInit(
ListInitExpression
node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
550
/// Visits the children of the <see cref="
ListInitExpression
" />.
555
protected internal virtual Expression VisitListInit(
ListInitExpression
node) {
Microsoft\Scripting\Ast\ListInitExpression.cs (26)
117
public
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>
133
public 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>
145
public 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>
165
public 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>
181
public 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.
212
public 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.
226
public static
ListInitExpression
ListInit(NewExpression newExpression, IEnumerable<ElementInit> initializers) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
774
EmitListInit((
ListInitExpression
)expr);
871
private void EmitListInit(
ListInitExpression
init) {
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
577
ListInitExpression
node = (
ListInitExpression
)expr;
System\Linq\Expressions\ExpressionVisitor.cs (2)
81
return this.VisitListInit((
ListInitExpression
)exp);
290
internal virtual Expression VisitListInit(
ListInitExpression
init) {
System.Data.Entity (4)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
90
return this.VisitListInit((
ListInitExpression
)exp);
340
internal virtual Expression VisitListInit(
ListInitExpression
init)
System\Data\Objects\ELinq\Translator.cs (2)
789
: TypedTranslator<
ListInitExpression
>
793
protected override DbExpression TypedTranslate(ExpressionConverter parent,
ListInitExpression
linq)
System.Data.Linq (4)
SqlClient\Query\Funcletizer.cs (2)
208
return this.VisitListInit((
ListInitExpression
)exp);
414
internal virtual Expression VisitListInit(
ListInitExpression
init) {
SqlClient\Query\QueryConverter.cs (2)
213
return this.VisitListInit((
ListInitExpression
)node);
2690
private SqlExpression VisitListInit(
ListInitExpression
list) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
169
return this.VisitListInit((
ListInitExpression
)exp);
559
internal virtual Expression VisitListInit(
ListInitExpression
init)
System.Data.Services.Client (5)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
169
return this.VisitListInit((
ListInitExpression
)exp);
559
internal virtual Expression VisitListInit(
ListInitExpression
init)
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
142
internal override Expression VisitListInit(
ListInitExpression
init)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
448
internal override Expression VisitListInit(
ListInitExpression
init)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
187
internal override Expression VisitListInit(
ListInitExpression
init)