54 references to Add
PresentationBuildTasks (34)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (34)
1857
cmie.Parameters.
Add
(e);
1875
coce.Parameters.
Add
(e);
2058
cmieOnEvent.Parameters.
Add
(new CodeArgumentReferenceExpression(pars[i].Name));
2577
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(DELEGATETYPE));
2578
cmieCD.Parameters.
Add
(new CodeThisReferenceExpression());
2579
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(HANDLERARG));
2693
cmieLoadContent.Parameters.
Add
(new CodeThisReferenceExpression());
2694
cmieLoadContent.Parameters.
Add
(cvreMemStm);
2770
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(TYPE));
2778
cmieCI.Parameters.
Add
(cboeCI);
2779
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2780
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2781
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2806
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2807
cmieGPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2808
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2809
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2810
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2834
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2835
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(VALUE));
2836
cmieSPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2837
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2838
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2839
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2875
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(CREATEDELEGATEHELPER));
2880
cmieCD.Parameters.
Add
(cboeCD);
2882
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2883
cmieCD.Parameters.
Add
(careTarget);
2888
caceCD.Initializers.
Add
(careDelType);
2889
caceCD.Initializers.
Add
(careHandler);
2890
cmieCD.Parameters.
Add
(caceCD);
2891
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2916
cmieAEH.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2917
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)
386
parameters.
Add
(new CodePrimitiveExpression(false));
432
methodInvoke.Parameters.
Add
(childControl);
433
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));