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