54 references to Add
PresentationBuildTasks (34)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (34)
1860
cmie.Parameters.
Add
(e);
1877
coce.Parameters.
Add
(e);
2059
cmieOnEvent.Parameters.
Add
(new CodeArgumentReferenceExpression(pars[i].Name));
2590
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(DELEGATETYPE));
2591
cmieCD.Parameters.
Add
(new CodeThisReferenceExpression());
2592
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(HANDLERARG));
2709
cmieLoadContent.Parameters.
Add
(new CodeThisReferenceExpression());
2710
cmieLoadContent.Parameters.
Add
(cvreMemStm);
2796
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(TYPE));
2804
cmieCI.Parameters.
Add
(cboeCI);
2805
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2806
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2807
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2836
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2837
cmieGPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2838
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2839
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2840
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2868
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2869
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(VALUE));
2870
cmieSPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2871
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2872
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2873
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2915
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(CREATEDELEGATEHELPER));
2920
cmieCD.Parameters.
Add
(cboeCD);
2922
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2923
cmieCD.Parameters.
Add
(careTarget);
2928
caceCD.Initializers.
Add
(careDelType);
2929
caceCD.Initializers.
Add
(careHandler);
2930
cmieCD.Parameters.
Add
(caceCD);
2931
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2960
cmieAEH.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2961
cmieAEH.Parameters.
Add
(new CodeArgumentReferenceExpression(HANDLERARG));
System.CodeDom (2)
System\CodeDom\CodeExpressionCollection.cs (2)
39
Add
(value[i]);
53
Add
(value[i]);
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1827
derivedConstructor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(ImportGlobals.SerializationInfoFieldName));
1828
derivedConstructor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(ImportGlobals.ContextFieldName));
System.Windows.Forms.Design (16)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (4)
447
arrayCreate.Initializers.
Add
(expression);
541
statement.Parameters.
Add
(serializedObject);
636
arrayCreate.Initializers.
Add
(expression);
645
methodInvoke.Parameters.
Add
(arrayCreate);
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (2)
138
methodInvoke.Parameters.
Add
(ownerExpression);
139
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(name));
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (3)
169
methodInvoke.Parameters.
Add
(extended);
272
methodInvoke.Parameters.
Add
(extended);
273
methodInvoke.Parameters.
Add
(serializedPropertyValue);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
347
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(resourceName));
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (3)
399
parameters.
Add
(new CodePrimitiveExpression(false));
445
methodInvoke.Parameters.
Add
(childControl);
446
methodInvoke.Parameters.
Add
(SerializeToExpression(manager, 0));
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (3)
76
statement.Parameters.
Add
(serializedObj);
80
statement.Parameters.
Add
(new CodePrimitiveExpression(col));
81
statement.Parameters.
Add
(new CodePrimitiveExpression(row));