89 references to CodeArgumentReferenceExpression
PresentationBuildTasks (22)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (22)
956
ccsConnector.Condition = new CodeBinaryOperatorExpression(new
CodeArgumentReferenceExpression
(CONNECTIONID),
970
CodeArgumentReferenceExpression careTarget = new
CodeArgumentReferenceExpression
(TARGET);
1186
ccsConnector.Condition = new CodeBinaryOperatorExpression(new
CodeArgumentReferenceExpression
(CONNECTIONID),
1193
CodeArgumentReferenceExpression careTarget = new
CodeArgumentReferenceExpression
(TARGET);
2005
cmieOnEvent.Parameters.Add(new
CodeArgumentReferenceExpression
(pars[i].Name));
2525
cmieCD.Parameters.Add(new
CodeArgumentReferenceExpression
(DELEGATETYPE));
2527
cmieCD.Parameters.Add(new
CodeArgumentReferenceExpression
(HANDLERARG));
2695
cmieCI.Parameters.Add(new
CodeArgumentReferenceExpression
(TYPE));
2706
cmieCI.Parameters.Add(new
CodeArgumentReferenceExpression
(CULTURE));
2728
CodeMethodReferenceExpression cmreGPV = new CodeMethodReferenceExpression(new
CodeArgumentReferenceExpression
(PROPINFO), "GetValue");
2731
cmieGPV.Parameters.Add(new
CodeArgumentReferenceExpression
(TARGET));
2735
cmieGPV.Parameters.Add(new
CodeArgumentReferenceExpression
(CULTURE));
2756
CodeMethodReferenceExpression cmreSPV = new CodeMethodReferenceExpression(new
CodeArgumentReferenceExpression
(PROPINFO), "SetValue");
2759
cmieSPV.Parameters.Add(new
CodeArgumentReferenceExpression
(TARGET));
2760
cmieSPV.Parameters.Add(new
CodeArgumentReferenceExpression
(VALUE));
2764
cmieSPV.Parameters.Add(new
CodeArgumentReferenceExpression
(CULTURE));
2792
CodeArgumentReferenceExpression careTarget = new
CodeArgumentReferenceExpression
(TARGET);
2811
CodeArgumentReferenceExpression careDelType = new
CodeArgumentReferenceExpression
(DELEGATETYPE);
2812
CodeArgumentReferenceExpression careHandler = new
CodeArgumentReferenceExpression
(HANDLERARG);
2838
CodeMethodReferenceExpression cmreAEH = new CodeMethodReferenceExpression(new
CodeArgumentReferenceExpression
(EVENTINFO), "AddEventHandler");
2841
cmieAEH.Parameters.Add(new
CodeArgumentReferenceExpression
(TARGET));
2842
cmieAEH.Parameters.Add(new
CodeArgumentReferenceExpression
(HANDLERARG));
System.Activities (5)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (5)
1589
CodeAssignStatement statement = new CodeAssignStatement(new CodeSnippetExpression(expressionText), new
CodeArgumentReferenceExpression
(paramName));
1922
constructor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("locations"));
1928
constructor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("activityContext"));
1957
constructor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("locations"));
1985
constructor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("locationReferences"));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1438
private static CodeExpression Argument(string argument) { return new
CodeArgumentReferenceExpression
(argument);}
System.Data.Entity.Design (3)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
239
connectionStringCtor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
(connectionStringParam.Name));
258
connectionWorkspaceCtor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
(connectionParam.Name));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
203
CodeArgumentReferenceExpression paramRef = new
CodeArgumentReferenceExpression
(paramDecl.Name);
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
801
new CodeObjectCreateExpression(new CodeTypeReference(typeof(System.ComponentModel.PropertyChangedEventArgs), CodeTypeReferenceOptions.GlobalReference), new
CodeArgumentReferenceExpression
("property"))
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
187
connectionWorkspaceCtor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
(connectionParam.Name));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
195
CodeArgumentReferenceExpression paramRef = new
CodeArgumentReferenceExpression
(paramDecl.Name);
System.Runtime.Serialization (6)
System\Runtime\Serialization\CodeExporter.cs (6)
1677
new
CodeArgumentReferenceExpression
(readerArg.Name)
1697
new
CodeArgumentReferenceExpression
(writerArg.Name),
1733
new
CodeArgumentReferenceExpression
(paramDeclaration.Name),
1756
setObjectData.Right = new
CodeArgumentReferenceExpression
(Globals.SerializationInfoFieldName);
1845
new
CodeArgumentReferenceExpression
(Globals.SerializationInfoFieldName),
1908
CodeArgumentReferenceExpression propertyName = new
CodeArgumentReferenceExpression
("propertyName");
System.ServiceModel (5)
System\ServiceModel\Description\ClientClassGenerator.cs (4)
283
invokeMethod.Parameters.Add(new
CodeArgumentReferenceExpression
(param.Name));
344
helperMethod.Statements.Add(new CodeAssignStatement(new
CodeArgumentReferenceExpression
(param.Name), fieldRef));
346
helperMethod.Statements.Add(new CodeAssignStatement(fieldRef, new
CodeArgumentReferenceExpression
(param.Name)));
797
new
CodeArgumentReferenceExpression
(operationCompletedMethod.Parameters[0].Name));
System\ServiceModel\Description\OperationGenerator.cs (1)
836
otherCtor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name), new
CodeArgumentReferenceExpression
(param.Name)));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
175
CodeObjectCreateExpression expr = new CodeObjectCreateExpression(typeRef, new
CodeArgumentReferenceExpression
(ActivityParameterName));
System.Web (19)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (8)
74
methodInvoke.Method.TargetObject = new
CodeArgumentReferenceExpression
(renderMethodParameterName);
115
methodInvoke.Parameters.Add(new
CodeArgumentReferenceExpression
(renderMethodParameterName));
256
new
CodeArgumentReferenceExpression
("ctrl"));
262
ctrlRefExpr = new
CodeArgumentReferenceExpression
("__ctrl");
1256
new
CodeArgumentReferenceExpression
("sender")));
1540
CodeStatement statement = statementBuilder.BuildStatement(new
CodeArgumentReferenceExpression
(renderMethodParameterName));
1551
methodInvoke.Method.TargetObject = new CodeIndexerExpression(new CodePropertyReferenceExpression(new
CodeArgumentReferenceExpression
("parameterContainer"),
1561
methodInvoke.Parameters.Add(new
CodeArgumentReferenceExpression
(renderMethodParameterName));
Compilation\DataBindingExpressionBuilder.cs (1)
91
new
CodeArgumentReferenceExpression
("sender")));
Compilation\PageCodeDomTreeGenerator.cs (9)
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\ProfileBuildProvider.cs (1)
284
cmie.Parameters.Add(new
CodeArgumentReferenceExpression
("username"));
System.Web.Services (21)
System\Web\Services\Description\HttpProtocolImporter.cs (5)
207
invokeParams[3] = new
CodeArgumentReferenceExpression
( "callback");
208
invokeParams[4] = new
CodeArgumentReferenceExpression
( "asyncState");
219
CodeExpression expr = new
CodeArgumentReferenceExpression
( "asyncResult");
258
invokeParams[4] = new
CodeArgumentReferenceExpression
(userState);
290
values[i] = new
CodeArgumentReferenceExpression
( parameterNames[i]);
System\Web\Services\Description\ProtocolImporter.cs (1)
443
invoke.Parameters.Add(new
CodeArgumentReferenceExpression
("userState"));
System\Web\Services\Description\SoapProtocolImporter.cs (8)
869
invokeParams[2] = new
CodeArgumentReferenceExpression
("callback");
870
invokeParams[3] = new
CodeArgumentReferenceExpression
("asyncState");
898
CodeExpression invokeParam = new
CodeArgumentReferenceExpression
("asyncResult");
934
invokeParams[3] = new
CodeArgumentReferenceExpression
(userState);
976
CodeExpression target = new
CodeArgumentReferenceExpression
(parameter.name);
983
target = new
CodeArgumentReferenceExpression
(parameter.name + "Specified");
1009
values[value++] = new
CodeArgumentReferenceExpression
(parameter.name);
1011
values[value++] = new
CodeArgumentReferenceExpression
(parameter.specifiedName);
System\Web\Services\Description\WebCodeGenerator.cs (7)
99
CodeExpression right = new
CodeArgumentReferenceExpression
("value");
295
trueStatements[0] = new CodeVariableDeclarationStatement(typeof(InvokeCompletedEventArgs), "invokeArgs", new CodeCastExpression(typeof(InvokeCompletedEventArgs), new
CodeArgumentReferenceExpression
("arg")));
324
invoke.Parameters.Add(new
CodeArgumentReferenceExpression
(parameterNames[i]));
384
ctor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("exception"));
385
ctor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("cancelled"));
386
ctor.BaseConstructorArgs.Add(new
CodeArgumentReferenceExpression
("userState"));
388
ctor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), data.Name), new
CodeArgumentReferenceExpression
(results)));
System.Workflow.Activities (2)
WebServiceReceive.cs (2)
826
paramArrayCreationExpression.Initializers.Add(new
CodeArgumentReferenceExpression
(paramInfo.Name));
850
CodeExpression leftExpression = new
CodeArgumentReferenceExpression
(pinfo.Name);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
355
CodeArgumentReferenceExpression propertyName = new
CodeArgumentReferenceExpression
("propertyName");