79 references to CodeVariableReferenceExpression
dotnet-svcutil-lib (79)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (10)
216
new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
("nodesList"), "GetEnumerator"));
220
CodeVariableReferenceExpression eRef = new
CodeVariableReferenceExpression
("e");
223
CodeMethodInvokeExpression codeWrite = new CodeMethodInvokeExpression(iXmlSerCast, "WriteXml", new
CodeVariableReferenceExpression
("writer"));
226
codeFor.TestExpression = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
("e"), "MoveNext"));
245
CodeVariableReferenceExpression reader = new
CodeVariableReferenceExpression
("reader");
264
CodeCastExpression iXmlSerCast = new CodeCastExpression(new CodeTypeReference(typeof(Microsoft.Xml.Serialization.IXmlSerializable)), new
CodeVariableReferenceExpression
("elem"));
266
CodeMethodInvokeExpression codeRead = new CodeMethodInvokeExpression(iXmlSerCast, "ReadXml", new
CodeVariableReferenceExpression
("reader"));
270
new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
("Nodes"),
271
"Add"), new
CodeVariableReferenceExpression
("elem"));
278
CodeMethodInvokeExpression skip = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
("reader"), "Skip"));
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (17)
114
ctor.ChainedConstructorArgs.Add(new
CodeVariableReferenceExpression
("endpointConfiguration"));
126
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("endpointConfiguration"));
133
TargetObject = new
CodeVariableReferenceExpression
("callbackImpl"),
149
ctor.ChainedConstructorArgs.Add(new
CodeVariableReferenceExpression
("binding"));
151
ctor.ChainedConstructorArgs.Add(new
CodeVariableReferenceExpression
("remoteAddress"));
163
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("binding"));
165
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("remoteAddress"));
172
TargetObject = new
CodeVariableReferenceExpression
("callbackImpl"),
203
TargetObject = new
CodeVariableReferenceExpression
("callbackImpl"),
259
Expression = new
CodeVariableReferenceExpression
("state"),
268
new
CodeVariableReferenceExpression
(results.Name),
354
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("exception"));
356
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("cancelled"));
358
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
("userState"));
364
ctor.Statements.Add(new CodeAssignStatement(resultsFieldReference, new
CodeVariableReferenceExpression
("results")));
442
Right = new
CodeVariableReferenceExpression
("proxy")
460
arr.Initializers.Add(new
CodeVariableReferenceExpression
(p.Name));
CodeDomFixup\ConfigToCode.cs (2)
88
new
CodeVariableReferenceExpression
(ConfigToCodeConstants.EndpointConfigurationParameter),
144
ctor.ChainedConstructorArgs[1] = new
CodeVariableReferenceExpression
(ConfigToCodeConstants.EndpointConfigurationParameter);
CodeDomFixup\MethodCreationHelper.cs (30)
271
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
280
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
412
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
421
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
557
CodeVariableReferenceExpression wsTrustTokenVar = new
CodeVariableReferenceExpression
(WSTrustTokenVarName);
558
CodeVariableReferenceExpression issuerBindingVar = new
CodeVariableReferenceExpression
(IssuerBindingName);
559
CodeVariableReferenceExpression issuerBindingVar2 = new
CodeVariableReferenceExpression
(ResultRef);
560
CodeVariableReferenceExpression issuerAddressVar = new
CodeVariableReferenceExpression
(IssuerAddressName);
630
CodeVariableReferenceExpression resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
761
CodeVariableReferenceExpression wsTrustTokenVar = new
CodeVariableReferenceExpression
(WSTrustTokenVarName);
762
CodeVariableReferenceExpression issuerBindingVar = new
CodeVariableReferenceExpression
(IssuerBindingName);
763
CodeVariableReferenceExpression issuerBindingVar2 = new
CodeVariableReferenceExpression
(ResultRef);
764
CodeVariableReferenceExpression issuerAddressVar = new
CodeVariableReferenceExpression
(IssuerAddressName);
834
CodeVariableReferenceExpression resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
960
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
969
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
1127
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(userNameOverTransportSecurityBindingElement.Name);
1208
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(tcpBindingElement.Name);
1303
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(namedPipeBindingElement.Name);
1366
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(httpBindingElement.Name);
1441
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(mtomBindingElement.Name);
1483
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(textBindingElement.Name);
1525
CodeVariableReferenceExpression bindingElementRef = new
CodeVariableReferenceExpression
(reliableBindingElement.Name);
1693
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
1702
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
1801
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
1885
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
1894
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
1992
resultVar = new
CodeVariableReferenceExpression
(IssuerBingdingVarName);
2001
resultVar = new
CodeVariableReferenceExpression
(ResultVarName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
411
CodeVariableReferenceExpression propertyChanged = new
CodeVariableReferenceExpression
("propertyChanged");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1707
CodeVariableReferenceExpression propertyChanged = new
CodeVariableReferenceExpression
("propertyChanged");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (18)
193
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(s_inputInstanceName));
198
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(s_clientCtorParamNames[i][j]));
275
CodeVariableReferenceExpression inValue = new
CodeVariableReferenceExpression
("inValue");
294
CodeVariableReferenceExpression outVar = new
CodeVariableReferenceExpression
("retVal");
461
methodInvoke.Parameters.Add(new CodeDirectionExpression(parameter.Direction, new
CodeVariableReferenceExpression
(parameter.Name)));
537
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(s_eventArgsCtorParamNames[i]));
541
ctor.Statements.Add(new CodeAssignStatement(resultsFieldReference, new
CodeVariableReferenceExpression
(s_eventArgsCtorParamNames[0])));
666
CodeExpression inValuesRef = new
CodeVariableReferenceExpression
(inValuesParam.Name);
678
new
CodeVariableReferenceExpression
(variableDecl.Name)));
685
invokeBegin.Parameters.Add(new
CodeVariableReferenceExpression
(beginMethod.Parameters[i].Name));
723
invokeEnd.Parameters.Add(new
CodeVariableReferenceExpression
(endMethod.Parameters[i].Name));
734
new
CodeVariableReferenceExpression
(variableDecl.Name)));
736
retArray.Initializers.Add(new
CodeVariableReferenceExpression
(variableDecl.Name));
746
retArray.Initializers.Add(new
CodeVariableReferenceExpression
(retValDecl.Name));
799
CodeVariableReferenceExpression eventArgsRef = new
CodeVariableReferenceExpression
(eventArgsDecl.Name);
858
invokeAsyncInValues.Initializers.Add(new
CodeVariableReferenceExpression
(eventAsyncMethodParameter.Name));
880
invokeAsync.Parameters.Add(new
CodeVariableReferenceExpression
(userStateParamName));
904
invokeEventAsyncMethod.Parameters.Add(new
CodeVariableReferenceExpression
(