42 references to Initializers
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2813
caceCD.
Initializers
.Add(careDelType);
2814
caceCD.
Initializers
.Add(careHandler);
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
713
CodeExpressionCollection init = e.
Initializers
;
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1111
CodeExpressionCollection init = e.
Initializers
;
1653
if (eAsArrayCreate != null && eAsArrayCreate.
Initializers
.Count == 0) {
compmod\system\codedom\compiler\CodeValidator.cs (1)
672
CodeExpressionCollection init = e.
Initializers
;
System.Data (8)
fx\src\data\System\Data\CodeGen\datacache.cs (8)
470
newArray.
Initializers
.Add(Primitive(null));
476
newArray.
Initializers
.Add(Indexer(Argument(argumentName), Primitive(relation.ParentColumnsReference[0].Ordinal)));
479
newArray.
Initializers
.Add(Argument(RowColumnPropertyName(index[i])));
526
arrayCreate.
Initializers
.Add(Argument(RowColumnPropertyName(index[i])));
1281
childrenColumns.
Initializers
.Add(Property(Field(This(), TableFieldName(c.Table)), TableColumnPropertyName(c)));
1287
parentColumns.
Initializers
.Add(Property(Field(This(), TableFieldName(c.Table)), TableColumnPropertyName(c)));
1326
parentColCreate.
Initializers
.Add(Property(Field(This(), parentTableField), TableColumnPropertyName(column)));
1333
childColCreate.
Initializers
.Add(Property(Field(This(), childTableField), TableColumnPropertyName(column)));
System.ServiceModel (5)
System\ServiceModel\Description\ClientClassGenerator.cs (5)
737
retArray.
Initializers
.Add(new CodeVariableReferenceExpression(variableDecl.Name));
747
retArray.
Initializers
.Add(new CodeVariableReferenceExpression(retValDecl.Name));
756
if (retArray.
Initializers
.Count > 0)
859
invokeAsyncInValues.
Initializers
.Add(new CodeVariableReferenceExpression(eventAsyncMethodParameter.Name));
871
if (invokeAsyncInValues.
Initializers
.Count > 0)
System.Web (1)
Compilation\CodeDOMUtility.cs (1)
72
exp.
Initializers
.Add(GenerateExpressionForValue(null, o, valueType.GetElementType()));
System.Workflow.Activities (22)
Rules\Expressions.cs (20)
3286
for (int i = 0; i < createExpression.
Initializers
.Count; ++i)
3288
CodeExpression init = createExpression.
Initializers
[i];
3351
if ((size >= 0) && (createExpression.
Initializers
.Count > size))
3353
message = string.Format(CultureInfo.CurrentCulture, Messages.InitializerCountMismatch, createExpression.
Initializers
.Count, size);
3373
foreach (CodeExpression p in createExpression.
Initializers
)
3418
size = createExpression.
Initializers
.Count;
3421
if (createExpression.
Initializers
!= null)
3422
for (int i = 0; i < createExpression.
Initializers
.Count; ++i)
3424
CodeExpression initializer = createExpression.
Initializers
[i];
3445
else if ((createExpression.Size != 0) || (createExpression.
Initializers
.Count == 0))
3448
if (createExpression.
Initializers
.Count > 0)
3451
for (int i = 0; i < createExpression.
Initializers
.Count; ++i)
3453
CodeExpression paramExpr = createExpression.
Initializers
[i];
3483
foreach (CodeExpression p in createExpression.
Initializers
)
3484
newCreate.
Initializers
.Add(RuleExpressionWalker.Clone(p));
3511
if (createExpression.
Initializers
.Count != createComperand.
Initializers
.Count)
3513
for (int i = 0; i < createExpression.
Initializers
.Count; ++i)
3514
if (!RuleExpressionWalker.Match(createExpression.
Initializers
[i], createComperand.
Initializers
[i]))
Rules\Parser\Parser.cs (1)
1888
((CodeArrayCreateExpression)primaryExpr).
Initializers
.AddRange(initializers.ToArray());
WebServiceReceive.cs (1)
826
paramArrayCreationExpression.
Initializers
.Add(new CodeArgumentReferenceExpression(paramInfo.Name));