35 references to Initializers
System.Activities (5)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
466
for (int i = 0; i < listInit.
Initializers
.Count; i++)
468
ReadOnlyCollection<Expression> arguments = listInit.
Initializers
[i].Arguments;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
800
ReadOnlyCollection<ElementInit> tmpInitializers = listInit.
Initializers
;
1260
return FindParameter(listInit.NewExpression) ?? FindParameter(listInit.
Initializers
);
System\Activities\ExpressionUtilities.cs (1)
992
hasChanged |= TryRewriteLambdaExpressionInitializersCollection(listInit.
Initializers
, out initializerList, publicAccessor);
System.Core (17)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
817
VisitExpressions('{', ',', node.
Initializers
, e => VisitElementInit(e));
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
248
public ReadOnlyCollection<ElementInit> Initializers { get { return _node.
Initializers
; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
363
for (int i = 0, n = node.
Initializers
.Count; i < n; i++) {
367
Out(node.
Initializers
[i].ToString());
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
558
Visit(node.
Initializers
, VisitElementInit)
Microsoft\Scripting\Ast\ListInitExpression.cs (8)
115
/// <param name="initializers">The <see cref="
Initializers
" /> property of the result.</param>
118
if (newExpression == NewExpression && initializers ==
Initializers
) {
131
/// <param name="initializers">An array of <see cref="Expression"/> objects to use to populate the <see cref="ListInitExpression.
Initializers
"/> collection.</param>
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>
163
/// <param name="initializers">An array of <see cref="Expression"/> objects to use to populate the <see cref="ListInitExpression.
Initializers
"/> collection.</param>
203
/// <param name="initializers">An array that contains <see cref="M:ElementInit"/> objects to use to populate the <see cref="ListInitExpression.
Initializers
"/> collection.</param>
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>
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
879
EmitListInit(init.
Initializers
, loc == null, init.NewExpression.Type);
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
584
ReadOnlyCollection<ElementInit> inits = node.
Initializers
;
System\Linq\Expressions\ExpressionVisitor.cs (2)
292
IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(init.
Initializers
);
293
if (n != init.NewExpression || initializers != init.
Initializers
) {
System.Data.Entity (4)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
343
IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(init.
Initializers
);
344
if (n != init.NewExpression || initializers != init.
Initializers
)
System\Data\Objects\ELinq\Translator.cs (2)
801
if (linq.
Initializers
.Any(i => i.Arguments.Count != 1))
806
return DbExpressionBuilder.NewCollection(linq.
Initializers
.Select(i => parent.TranslateExpression(i.Arguments[0])));
System.Data.Linq (5)
SqlClient\Query\Funcletizer.cs (2)
416
IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(init.
Initializers
);
417
if (n != init.NewExpression || initializers != init.
Initializers
) {
SqlClient\Query\QueryConverter.cs (3)
2696
SqlExpression[] exprs = new SqlExpression[list.
Initializers
.Count];
2698
if (1 != list.
Initializers
[i].Arguments.Count) {
2703
exprs[i] = this.VisitExpression(list.
Initializers
[i].Arguments.Single());
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
562
IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(init.
Initializers
);
563
if (n != init.NewExpression || initializers != init.
Initializers
)
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
562
IEnumerable<ElementInit> initializers = this.VisitElementInitializerList(init.
Initializers
);
563
if (n != init.NewExpression || initializers != init.
Initializers
)