473 references to Add
PresentationBuildTasks (34)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (34)
1803
cmie.Parameters.
Add
(e);
1821
coce.Parameters.
Add
(e);
2005
cmieOnEvent.Parameters.
Add
(new CodeArgumentReferenceExpression(pars[i].Name));
2525
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(DELEGATETYPE));
2526
cmieCD.Parameters.
Add
(new CodeThisReferenceExpression());
2527
cmieCD.Parameters.
Add
(new CodeArgumentReferenceExpression(HANDLERARG));
2618
cmieLoadContent.Parameters.
Add
(new CodeThisReferenceExpression());
2619
cmieLoadContent.Parameters.
Add
(cvreMemStm);
2695
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(TYPE));
2703
cmieCI.Parameters.
Add
(cboeCI);
2704
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2705
cmieCI.Parameters.
Add
(new CodePrimitiveExpression(null));
2706
cmieCI.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2731
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2732
cmieGPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2733
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2734
cmieGPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2735
cmieGPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2759
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2760
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(VALUE));
2761
cmieSPV.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2762
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2763
cmieSPV.Parameters.
Add
(new CodePrimitiveExpression(null));
2764
cmieSPV.Parameters.
Add
(new CodeArgumentReferenceExpression(CULTURE));
2800
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(CREATEDELEGATEHELPER));
2805
cmieCD.Parameters.
Add
(cboeCD);
2807
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2808
cmieCD.Parameters.
Add
(careTarget);
2813
caceCD.Initializers.
Add
(careDelType);
2814
caceCD.Initializers.
Add
(careHandler);
2815
cmieCD.Parameters.
Add
(caceCD);
2816
cmieCD.Parameters.
Add
(new CodePrimitiveExpression(null));
2841
cmieAEH.Parameters.
Add
(new CodeArgumentReferenceExpression(TARGET));
2842
cmieAEH.Parameters.
Add
(new CodeArgumentReferenceExpression(HANDLERARG));
System (2)
compmod\system\codedom\CodeExpressionCollection.cs (2)
81
this.
Add
(value[i]);
96
this.
Add
(value[i]);
System.Activities (7)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (7)
1615
setExpression.Parameters.
Add
(new CodeVariableReferenceExpression(expressionMethod.Parameters[0].Name));
1922
constructor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("locations"));
1928
constructor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("activityContext"));
1936
constructor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression(false));
1957
constructor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("locations"));
1965
constructor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression(false));
1985
constructor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("locationReferences"));
System.Data (11)
fx\src\data\System\Data\CodeGen\datacache.cs (11)
338
constructor.BaseConstructorArgs.
Add
(Str(table.TableName));
368
constructor.BaseConstructorArgs.
Add
(Property(Argument("table"),"TableName"));
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])));
769
constructor.BaseConstructorArgs.
Add
(Argument("rb"));
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.Data.Entity.Design (6)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (6)
220
emptyCtor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression("name=" + Item.Name));
221
emptyCtor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression(Item.Name));
239
connectionStringCtor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression(connectionStringParam.Name));
240
connectionStringCtor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression(Item.Name));
258
connectionWorkspaceCtor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression(connectionParam.Name));
259
connectionWorkspaceCtor.BaseConstructorArgs.
Add
(new CodePrimitiveExpression(Item.Name));
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
187
connectionWorkspaceCtor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression(connectionParam.Name));
System.Management (250)
WmiGenerator.cs (250)
1095
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
1096
cmie.Parameters.
Add
(new CodeVariableReferenceExpression("value"));
1097
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
1106
coce.Parameters.
Add
(new CodePrimitiveExpression(GetString("CLASSNOT_FOUND_EXCEPT")));
1380
cmie.Parameters.
Add
(new CodePrimitiveExpression(prop.NullEnumValue));
1393
cmie.Parameters.
Add
(new CodePrimitiveExpression(prop.NullEnumValue));
1475
cmie.Parameters.
Add
(cie);
2159
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2170
coce.Parameters.
Add
(cmie);
2172
cmieInit.Parameters.
Add
(coce);
2176
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2178
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2220
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2228
cmie.Parameters.
Add
(new CodeVariableReferenceExpression("key"+arrKeys[i]));
2233
coce.Parameters.
Add
(cmie);
2235
cmieInit.Parameters.
Add
(coce);
2236
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2279
cmieInit.Parameters.
Add
(new CodeCastExpression(
2289
cmie.Parameters.
Add
(new CodeVariableReferenceExpression("key"+arrKeys[i]));
2294
coce.Parameters.
Add
(cmie);
2295
cmieInit.Parameters.
Add
(coce);
2296
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2326
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2327
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2328
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2356
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2357
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2358
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2384
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2385
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2386
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2409
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2416
coce.Parameters.
Add
(cmie);
2418
cmieInit.Parameters.
Add
(coce);
2420
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2446
cmieInit.Parameters.
Add
(new CodePrimitiveExpression(null));
2453
coce.Parameters.
Add
(cmie);
2455
cmieInit.Parameters.
Add
(coce);
2456
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2485
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2493
coce.Parameters.
Add
(cmie);
2495
cmieInit.Parameters.
Add
(coce);
2497
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2543
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2544
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2545
cmieInit.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2587
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strLateBoundObject));
2601
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()));
2608
coce.Parameters.
Add
(new CodePrimitiveExpression(GetString("CLASSNOT_FOUND_EXCEPT")));
2654
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strLateBoundObject));
2669
coce.Parameters.
Add
(new CodeVariableReferenceExpression(strLateBoundObject));
2679
coce.Parameters.
Add
(new CodePrimitiveExpression(GetString("CLASSNOT_FOUND_EXCEPT")));
2742
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2743
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2744
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2753
coce.Parameters.
Add
(new CodePrimitiveExpression(GetString("CLASSNOT_FOUND_EXCEPT")));
2761
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2762
coce.Parameters.
Add
(new CodeVariableReferenceExpression(strPathObject));
2763
coce.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
2769
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()));
2914
cocePath.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString()));
2919
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString()));
2920
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(strPath));
2921
coce1.Parameters.
Add
(new CodePrimitiveExpression(null));
2925
coce.Parameters.
Add
(coce1);
3064
cmie.Parameters.
Add
(new CodePrimitiveExpression(meth.Name));
3065
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strInParams));
3066
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3151
cmie2.Parameters.
Add
(new CodePropertyReferenceExpression(cie,"Value"));
3168
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3169
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3170
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3171
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3172
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3188
cmie2.Parameters.
Add
(new CodePrimitiveExpression(0));
3213
cmie.Parameters.
Add
(new CodePrimitiveExpression(meth.Name));
3214
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strInParams));
3215
cmie.Parameters.
Add
(new CodePrimitiveExpression(null)); // Bug NO: 108605
3275
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3276
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3277
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3278
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3279
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
3293
cmie.Parameters.
Add
(new CodePropertyReferenceExpression(cie,"Value"));
3300
cmie.Parameters.
Add
(new CodePrimitiveExpression(0));
3341
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3342
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3343
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3374
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3375
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strCondition));
3376
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3405
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3406
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3407
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strSelectedProperties));
3438
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3439
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strCondition));
3440
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strSelectedProperties));
3533
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3534
coce.Parameters.
Add
(new CodeVariableReferenceExpression(pathObj));
3535
coce.Parameters.
Add
(new CodePrimitiveExpression(null));
3564
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()));
3565
coce.Parameters.
Add
(cmie);
3596
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3597
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strCondition));
3598
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3628
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3629
cmie.Parameters.
Add
(new CodePrimitiveExpression(null));
3630
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strSelectedProperties));
3698
coce1.Parameters.
Add
(new CodePrimitiveExpression(OriginalClassName));
3699
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(strCondition));
3700
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(strSelectedProperties));
3704
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3705
coce.Parameters.
Add
(coce1);
3731
coce.Parameters.
Add
(new CodeMethodInvokeExpression(new CodeVariableReferenceExpression(strObjectSearcher),
3838
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(baseTypeParam));
3863
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3864
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(srcType));
3887
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3888
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(TypeDstObject));
3912
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3913
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(CultureInfoVar));
3914
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(ValueVar));
3937
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3938
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(DictVar));
3959
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3982
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
3983
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(ValueVar));
3984
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(AttributeVar));
4003
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
4022
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
4041
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
4060
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
4116
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(contextObject));
4117
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(CultureInfoVar));
4118
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(ValueVar));
4119
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(TypeDstObject));
4169
cmie.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance"));
4234
cmie.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance"));
4266
cmie.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance"));
4416
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strArray));
4417
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strIndex));
4450
coce.Parameters.
Add
(new CodeCastExpression(new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()),cmie1));
4452
cmie.Parameters.
Add
(coce);
4453
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strnCtr));
4472
coce.Parameters.
Add
(new CodeMethodInvokeExpression(new CodeVariableReferenceExpression(strObjectCollection),"GetEnumerator"));
4564
coce.Parameters.
Add
(new CodeCastExpression(new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()),
5105
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["putOptions"].ToString()));
5552
coce.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
5553
coce.Parameters.
Add
(new CodeVariableReferenceExpression(strPathParam));
5554
coce.Parameters.
Add
(new CodeVariableReferenceExpression(strGetOptions));
5655
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(strnCtr));
5850
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(strnCtr));
5966
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(strnCtr));
5995
cmie.Parameters.
Add
(param);
6005
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6006
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6007
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6008
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6009
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6017
cmie.Parameters.
Add
(param);
6025
coce.Parameters.
Add
(param);
6044
cmie1.Parameters.
Add
(new CodeCastExpression(new CodeTypeReference("System.DateTime"),beginingExpression));
6052
cmie2.Parameters.
Add
(new CodeCastExpression(new CodeTypeReference("System.TimeSpan"),beginingExpression));
6160
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(strnCtr));
6164
cmie2.Parameters.
Add
(cmie1);
6341
cocePath.Parameters.
Add
(new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString()));
6346
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(strScope));
6347
coce1.Parameters.
Add
(new CodeVariableReferenceExpression(strPath));
6348
coce1.Parameters.
Add
(new CodePrimitiveExpression(null));
6359
coce.Parameters.
Add
(cmie1);
6557
cmie.Parameters.
Add
(new CodePrimitiveExpression(15));
6558
cmie.Parameters.
Add
(new CodePrimitiveExpression(6));
6572
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(tempStr));
6685
codeThrowExceptionWithArgs.Parameters.
Add
(new CodePrimitiveExpression(null));
6686
codeThrowExceptionWithArgs.Parameters.
Add
6710
coce.Parameters.
Add
(new CodeVariableReferenceExpression(year));
6711
coce.Parameters.
Add
(new CodeVariableReferenceExpression(month));
6712
coce.Parameters.
Add
(new CodeVariableReferenceExpression(day));
6713
coce.Parameters.
Add
(new CodeVariableReferenceExpression(hour));
6714
coce.Parameters.
Add
(new CodeVariableReferenceExpression(minute));
6715
coce.Parameters.
Add
(new CodeVariableReferenceExpression(second));
6716
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
6726
cmie2.Parameters.
Add
(new CodeVariableReferenceExpression(ticks));
6737
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(datetimeVariable));
6770
cmie.Parameters.
Add
(new CodePrimitiveExpression(22));
6771
cmie.Parameters.
Add
(new CodePrimitiveExpression(3));
6805
cmie.Parameters.
Add
(new CodePrimitiveExpression(21));
6806
cmie.Parameters.
Add
(new CodePrimitiveExpression(4));
6814
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(tempStr));
6834
cmie.Parameters.
Add
(new CodeCastExpression("System.Double",new CodeVariableReferenceExpression(offsetAdjust)));
6860
cmie.Parameters.
Add
(new CodePrimitiveExpression(SubStringParam1));
6861
cmie.Parameters.
Add
(new CodePrimitiveExpression(SubStringParam2));
6874
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(tempVarName));
6916
cmie1.Parameters.
Add
(new CodePrimitiveExpression(8));
6917
cmie1.Parameters.
Add
(new CodePrimitiveExpression('0'));
7001
cmie1.Parameters.
Add
(new CodePrimitiveExpression(2));
7002
cmie1.Parameters.
Add
(new CodePrimitiveExpression('0'));
7018
cmie1.Parameters.
Add
(new CodePrimitiveExpression(2));
7019
cmie1.Parameters.
Add
(new CodePrimitiveExpression('0'));
7035
cmie1.Parameters.
Add
(new CodePrimitiveExpression(2));
7036
cmie1.Parameters.
Add
(new CodePrimitiveExpression('0'));
7054
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Days"));
7055
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Hours"));
7056
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Minutes"));
7057
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Seconds"));
7058
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
7114
cmie.Parameters.
Add
(new CodePrimitiveExpression(0));
7115
cmie.Parameters.
Add
(new CodePrimitiveExpression(6));
7126
cmie.Parameters.
Add
(new CodePrimitiveExpression(6));
7127
cmie.Parameters.
Add
(new CodePrimitiveExpression('0'));
7178
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(dateParam));
7213
cmie1.Parameters.
Add
(new CodeVariableReferenceExpression(OffsetMins));
7254
cmie2.Parameters.
Add
(new CodePrimitiveExpression(3));
7255
cmie2.Parameters.
Add
(new CodePrimitiveExpression('0'));
7273
cmie2.Parameters.
Add
(new CodePrimitiveExpression(1));
7274
cmie2.Parameters.
Add
(new CodeBinaryOperatorExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("strTemp"),"Length"),
7281
cmie3.Parameters.
Add
(new CodePrimitiveExpression(3));
7282
cmie3.Parameters.
Add
(new CodePrimitiveExpression('0'));
7302
cmie2.Parameters.
Add
(new CodePrimitiveExpression(4));
7303
cmie2.Parameters.
Add
(new CodePrimitiveExpression('0'));
7348
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Year"));
7349
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Month"));
7350
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Day"));
7351
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Hour"));
7352
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Minute"));
7353
coce.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Second"));
7354
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
7410
cmie1.Parameters.
Add
(new CodePrimitiveExpression(0));
7411
cmie1.Parameters.
Add
(new CodePrimitiveExpression(6));
7422
cmie1.Parameters.
Add
(new CodePrimitiveExpression(6));
7423
cmie1.Parameters.
Add
(new CodePrimitiveExpression('0'));
7456
cmie2.Parameters.
Add
(new CodePrimitiveExpression(2));
7457
cmie2.Parameters.
Add
(new CodePrimitiveExpression('0'));
7564
cmie.Parameters.
Add
(new CodePrimitiveExpression(21));
7565
cmie.Parameters.
Add
(new CodePrimitiveExpression(4));
7612
cmie.Parameters.
Add
(new CodePrimitiveExpression(15));
7613
cmie.Parameters.
Add
(new CodePrimitiveExpression(6));
7619
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strTemp));
7716
codeThrowExceptionWithArgs.Parameters.
Add
(new CodePrimitiveExpression(null));
7717
codeThrowExceptionWithArgs.Parameters.
Add
7742
coce.Parameters.
Add
(new CodeVariableReferenceExpression(days));
7743
coce.Parameters.
Add
(new CodeVariableReferenceExpression(hours));
7744
coce.Parameters.
Add
(new CodeVariableReferenceExpression(minutes));
7745
coce.Parameters.
Add
(new CodeVariableReferenceExpression(seconds));
7746
coce.Parameters.
Add
(new CodePrimitiveExpression(0));
7757
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(ticks));
7763
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(tsTemp));
7784
cmie.Parameters.
Add
(new CodePrimitiveExpression(start));
7785
cmie.Parameters.
Add
(new CodePrimitiveExpression(numOfCharacters));
7791
cmie.Parameters.
Add
(new CodeVariableReferenceExpression(strTemp));
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1775
derivedConstructor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(Globals.SerializationInfoFieldName));
1776
derivedConstructor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(Globals.ContextFieldName));
System.ServiceModel (21)
System\ServiceModel\Description\ClientClassGenerator.cs (21)
193
ctor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(inputInstanceName));
198
ctor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(ClientCtorParamNames[i][j]));
277
invokeMethod.Parameters.
Add
(inValue);
283
invokeMethod.Parameters.
Add
(new CodeArgumentReferenceExpression(param.Name));
461
methodInvoke.Parameters.
Add
(new CodeDirectionExpression(parameter.Direction, new CodeVariableReferenceExpression(parameter.Name)));
537
ctor.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(EventArgsCtorParamNames[i]));
678
invokeBegin.Parameters.
Add
(new CodeDirectionExpression(beginMethod.Parameters[i].Direction,
686
invokeBegin.Parameters.
Add
(new CodeVariableReferenceExpression(beginMethod.Parameters[i].Name));
724
invokeEnd.Parameters.
Add
(new CodeVariableReferenceExpression(endMethod.Parameters[i].Name));
734
invokeEnd.Parameters.
Add
(new CodeDirectionExpression(endMethod.Parameters[i].Direction,
737
retArray.Initializers.
Add
(new CodeVariableReferenceExpression(variableDecl.Name));
747
retArray.Initializers.
Add
(new CodeVariableReferenceExpression(retValDecl.Name));
859
invokeAsyncInValues.Initializers.
Add
(new CodeVariableReferenceExpression(eventAsyncMethodParameter.Name));
870
invokeAsync.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), beginOperationDelegate.Name));
873
invokeAsync.Parameters.
Add
(invokeAsyncInValues);
877
invokeAsync.Parameters.
Add
(new CodePrimitiveExpression(null));
879
invokeAsync.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), endOperationDelegate.Name));
880
invokeAsync.Parameters.
Add
(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), operationCompletedDelegate.Name));
881
invokeAsync.Parameters.
Add
(new CodeVariableReferenceExpression(userStateParamName));
905
invokeEventAsyncMethod.Parameters.
Add
(new CodeVariableReferenceExpression(
908
invokeEventAsyncMethod.Parameters.
Add
(new CodePrimitiveExpression(null));
System.Web (114)
Compilation\BaseCodeDomTreeGenerator.cs (3)
645
getObject.Parameters.
Add
(new CodePrimitiveExpression(entry.Name));
707
createObjectCall.Parameters.
Add
(new CodePrimitiveExpression(obj.Progid));
717
createObjectCall.Parameters.
Add
(new CodePrimitiveExpression(obj.Clsid));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (46)
77
methodInvoke.Parameters.
Add
(expr);
115
methodInvoke.Parameters.
Add
(new CodeArgumentReferenceExpression(renderMethodParameterName));
116
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(offset));
117
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(size));
118
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(fAsciiOnly));
140
methCallExpression.Parameters.
Add
(ctrlToAdd);
274
newExpr.Parameters.
Add
(new CodePrimitiveExpression(builder.TagName));
281
newExpr.Parameters.
Add
(new CodePrimitiveExpression(
283
newExpr.Parameters.
Add
(new CodePrimitiveExpression(
325
applyStyleSheetExpr.Parameters.
Add
(BuildPagePropertyReferenceExpression());
375
newExpr.Parameters.
Add
(newDelegate);
376
newExpr.Parameters.
Add
(newExtractValuesDelegate);
383
newExpr.Parameters.
Add
(newDelegate);
397
methCallExpression.Parameters.
Add
(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName));
501
removeExpr.Parameters.
Add
(new CodePrimitiveExpression(templateName));
521
instantiateTemplateExpr.Parameters.
Add
(ctrlRefExpr);
522
instantiateTemplateExpr.Parameters.
Add
(templateFieldRef);
526
instantiateTemplateExpr.Parameters.
Add
(ctrlRefExpr);
564
cocExpr.Parameters.
Add
(newDelegate);
567
cmiExpression.Parameters.
Add
(new CodePrimitiveExpression(contentPlaceHolderID));
568
cmiExpression.Parameters.
Add
(cocExpr);
600
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(i/2));
601
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(s));
670
call.Parameters.
Add
(ctrlRefExpr);
671
call.Parameters.
Add
(new CodePrimitiveExpression(ctrlBuilder.ID));
676
call.Parameters.
Add
(new CodePrimitiveExpression(
680
call.Parameters.
Add
(new CodePrimitiveExpression(Guid.NewGuid().ToString()));
681
call.Parameters.
Add
(new CodePrimitiveExpression(cacheAttrib.Duration));
682
call.Parameters.
Add
(new CodePrimitiveExpression(cacheAttrib.VaryByParams));
683
call.Parameters.
Add
(new CodePrimitiveExpression(cacheAttrib.VaryByControls));
684
call.Parameters.
Add
(new CodePrimitiveExpression(cacheAttrib.VaryByCustom));
685
call.Parameters.
Add
(new CodePrimitiveExpression(cacheAttrib.SqlDependency));
690
call.Parameters.
Add
(newDelegate);
692
call.Parameters.
Add
(new CodePrimitiveExpression(providerName));
709
newExpr.Parameters.
Add
(new CodePrimitiveExpression(s));
721
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(offset));
722
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(size));
723
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(fAsciiOnly));
794
methCallExpression.Parameters.
Add
(new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name));
825
methCallExpression.Parameters.
Add
(childCtrlRefExpr);
909
methCallExpression.Parameters.
Add
(newDelegate);
1065
findControlCallExpression.Parameters.
Add
(new CodePrimitiveExpression(findControlParameter));
1319
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(i/2));
1320
methCallExpression.Parameters.
Add
(expr);
1561
methodInvoke.Parameters.
Add
(new CodeArgumentReferenceExpression(renderMethodParameterName));
1760
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(current.Filter));
Compilation\CodeDOMUtility.cs (10)
72
exp.Initializers.
Add
(GenerateExpressionForValue(null, o, valueType.GetElementType()));
135
methCall.Parameters.
Add
(e);
151
objectCreate.Parameters.
Add
(e);
197
methCall.Parameters.
Add
(new CodePrimitiveExpression(s));
198
methCall.Parameters.
Add
(new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(typeof(CultureInfo)), "InvariantCulture"));
205
methCall.Parameters.
Add
(new CodePrimitiveExpression(value.ToString()));
261
methodInvoke.Parameters.
Add
(new CodePrimitiveExpression(targetPropertyName));
263
methodInvoke.Parameters.
Add
(GenerateConvertToString(value));
307
invokeExpr.Parameters.
Add
(value);
308
invokeExpr.Parameters.
Add
(new CodePropertyReferenceExpression(
Compilation\DataBindingExpressionBuilder.cs (2)
43
evalExpr.Parameters.
Add
(new CodePrimitiveExpression(field));
45
evalExpr.Parameters.
Add
(new CodePrimitiveExpression(formatString));
Compilation\PageCodeDomTreeGenerator.cs (12)
115
createWrap.Parameters.
Add
(new CodeVariableReferenceExpression(dependenciesLocalName));
388
addDeps.Parameters.
Add
(new CodeFieldReferenceExpression(_classTypeExpr, fileDependenciesName));
400
call.Parameters.
Add
(new CodeFieldReferenceExpression(
468
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("context"));
469
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("cb"));
470
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("data"));
492
call.Parameters.
Add
(new CodeArgumentReferenceExpression("ar"));
526
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("context"));
527
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("cb"));
528
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("data"));
550
call.Parameters.
Add
(new CodeArgumentReferenceExpression("ar"));
600
invokeExpr.Parameters.
Add
(new CodeArgumentReferenceExpression("context"));
Compilation\PageThemeCodeDomTreeGenerator.cs (5)
72
cmie.Parameters.
Add
(new CodeTypeOfExpression(controlType));
73
cmie.Parameters.
Add
(new CodePrimitiveExpression(skinID));
96
valueExpr.Parameters.
Add
(new CodeTypeOfExpression(controlType));
97
valueExpr.Parameters.
Add
(del);
109
expr.Parameters.
Add
(new CodePrimitiveExpression(initialSize));
Compilation\ProfileBuildProvider.cs (5)
202
cmie.Parameters.
Add
(new CodePrimitiveExpression(name));
218
setLine.Parameters.
Add
(new CodePrimitiveExpression(name));
219
setLine.Parameters.
Add
(new CodePropertySetValueReferenceExpression());
252
cmie.Parameters.
Add
(new CodePrimitiveExpression(prop.Name));
284
cmie.Parameters.
Add
(new CodeArgumentReferenceExpression("username"));
Compilation\ResourceExpressionBuilder.cs (7)
125
expr.Parameters.
Add
(new CodePrimitiveExpression(classKey));
126
expr.Parameters.
Add
(new CodePrimitiveExpression(resourceKey));
130
expr.Parameters.
Add
(new CodeTypeOfExpression(entry.DeclaringType));
131
expr.Parameters.
Add
(new CodePrimitiveExpression(entry.PropertyInfo.Name));
144
expr.Parameters.
Add
(new CodePrimitiveExpression(resourceKey));
148
expr.Parameters.
Add
(new CodeTypeOfExpression(entry.DeclaringType));
149
expr.Parameters.
Add
(new CodePrimitiveExpression(entry.PropertyInfo.Name));
Compilation\TemplateControlCodeDomTreeGenerator.cs (4)
203
methCallExpression.Parameters.
Add
(new CodeFieldReferenceExpression(
206
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(0));
213
call.Parameters.
Add
(new CodeThisReferenceExpression());
317
ctorCode.BaseConstructorArgs.
Add
(new CodeVariableReferenceExpression(p.Name));
Configuration\BrowserCapabilitiesCodeGenerator.cs (18)
754
cmie.Parameters.
Add
(_browserCapsRefExpr);
1011
cmie.Parameters.
Add
(new CodePrimitiveExpression(bd.ID));
1090
expr.Parameters.
Add
(new CodeVariableReferenceExpression(IgnoreApplicationBrowserVariableName));
1092
expr.Parameters.
Add
(new CodeVariableReferenceExpression(_headersRefName));
1093
expr.Parameters.
Add
(new CodeVariableReferenceExpression(browserCapsVariable));
1224
cmie.Parameters.
Add
(headerValue);
1225
cmie.Parameters.
Add
(new CodePrimitiveExpression(matchedString));
1287
cmie.Parameters.
Add
(headerValue);
1288
cmie.Parameters.
Add
(new CodePrimitiveExpression(matchedString));
1342
cmie.Parameters.
Add
(new CodeCastExpression(typeof(string),
1351
cmie.Parameters.
Add
(
1361
cmie.Parameters.
Add
(new CodePrimitiveExpression(matchedString));
1378
cmie.Parameters.
Add
(
1387
cmie.Parameters.
Add
(new CodePrimitiveExpression(matchedString));
1467
xProcess.Parameters.
Add
(new CodeVariableReferenceExpression(_headersRefName));
1468
xProcess.Parameters.
Add
(new CodeVariableReferenceExpression(browserCapsVariable));
1487
xProcess.Parameters.
Add
(new CodeVariableReferenceExpression(_headersRefName));
1488
xProcess.Parameters.
Add
(new CodeVariableReferenceExpression(browserCapsVariable));
UI\SimplePropertyEntry.cs (2)
72
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(Name));
73
methCallExpression.Parameters.
Add
(new CodePrimitiveExpression(Value));
System.Web.Services (14)
System\Web\Services\Description\ProtocolImporter.cs (1)
443
invoke.Parameters.
Add
(new CodeArgumentReferenceExpression("userState"));
System\Web\Services\Description\SoapProtocolImporter.cs (3)
979
((CodeArrayIndexerExpression)value).Indices.
Add
(new CodePrimitiveExpression(count++));
986
((CodeArrayIndexerExpression)value).Indices.
Add
(new CodePrimitiveExpression(count++));
995
((CodeArrayIndexerExpression)value).Indices.
Add
(new CodePrimitiveExpression(0));
System\Web\Services\Description\WebCodeGenerator.cs (10)
301
create.Parameters.
Add
(new CodePropertyReferenceExpression(invokeArgs, "Results"));
306
create.Parameters.
Add
(new CodePropertyReferenceExpression(invokeArgs, "Error"));
307
create.Parameters.
Add
(new CodePropertyReferenceExpression(invokeArgs, "Cancelled"));
308
create.Parameters.
Add
(new CodePropertyReferenceExpression(invokeArgs, "UserState"));
324
invoke.Parameters.
Add
(new CodeArgumentReferenceExpression(parameterNames[i]));
326
invoke.Parameters.
Add
(new CodePrimitiveExpression(null));
384
ctor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("exception"));
385
ctor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("cancelled"));
386
ctor.BaseConstructorArgs.
Add
(new CodeArgumentReferenceExpression("userState"));
411
valueRef.Indices.
Add
(new CodePrimitiveExpression(index));
System.Workflow.Activities (11)
Rules\Expressions.cs (5)
432
arguments.
Add
(binaryExpr.Left);
433
arguments.
Add
(binaryExpr.Right);
1684
newMethod.Parameters.
Add
(RuleExpressionWalker.Clone(argument));
3182
newCreate.Parameters.
Add
(RuleExpressionWalker.Clone(p));
3484
newCreate.Initializers.
Add
(RuleExpressionWalker.Clone(p));
WebServiceReceive.cs (6)
766
constructor.BaseConstructorArgs.
Add
(new CodeTypeOfExpression(workflowTypeName));
826
paramArrayCreationExpression.Initializers.
Add
(new CodeArgumentReferenceExpression(paramInfo.Name));
833
baseInvokeExpression.Parameters.
Add
(new CodeTypeOfExpression(methodInfo.DeclaringType));
834
baseInvokeExpression.Parameters.
Add
(new CodePrimitiveExpression(methodInfo.Name));
835
baseInvokeExpression.Parameters.
Add
(new CodePrimitiveExpression(isActivation));
836
baseInvokeExpression.Parameters.
Add
(paramArrayCreationExpression);