79 instantiations of 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
(
57 references to CodeVariableReferenceExpression
dotnet-svcutil-lib (57)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (2)
220
CodeVariableReferenceExpression
eRef = new CodeVariableReferenceExpression("e");
245
CodeVariableReferenceExpression
reader = new CodeVariableReferenceExpression("reader");
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
513
protected override void Visit(
CodeVariableReferenceExpression
expr)
641
else if (expr is
CodeVariableReferenceExpression
)
642
Visit((
CodeVariableReferenceExpression
)expr);
673
protected virtual void Visit(
CodeVariableReferenceExpression
expr) { }
CodeDomFixup\MethodCreationHelper.cs (36)
261
CodeVariableReferenceExpression
resultVar;
402
CodeVariableReferenceExpression
resultVar;
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);
951
CodeVariableReferenceExpression
resultVar;
1094
private static void AddSslStreamSecurityBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding)
1105
private static void AddWinStreamSecurityBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding)
1116
private static void AddTransportSecurityBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, TransportSecurityBindingElement bindingElement)
1127
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(userNameOverTransportSecurityBindingElement.Name);
1200
private static void AddTcpBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, TcpTransportBindingElement bindingElement)
1208
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(tcpBindingElement.Name);
1295
private static void AddNamedPipeBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, NamedPipeTransportBindingElement bindingElement)
1303
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(namedPipeBindingElement.Name);
1355
private static void AddHttpBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, HttpTransportBindingElement bindingElement)
1366
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(httpBindingElement.Name);
1422
private static void AddBinaryBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding)
1433
private static void AddMtomBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, MtomMessageEncodingBindingElement bindingElement)
1441
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(mtomBindingElement.Name);
1475
private static void AddTextBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, TextMessageEncodingBindingElement bindingElement)
1483
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(textBindingElement.Name);
1517
private static void AddReliableSessionBindingElement(CodeStatementCollection statements,
CodeVariableReferenceExpression
customBinding, ReliableSessionBindingElement bindingElement)
1525
CodeVariableReferenceExpression
bindingElementRef = new CodeVariableReferenceExpression(reliableBindingElement.Name);
1683
CodeVariableReferenceExpression
resultVar;
1792
CodeVariableReferenceExpression
resultVar;
1875
CodeVariableReferenceExpression
resultVar;
1981
CodeVariableReferenceExpression
resultVar;
2094
private static void MaxOutProperties(CodeStatementCollection statements,
CodeVariableReferenceExpression
resultVar)
2118
private static void WSHttpMaxOutProperties(CodeStatementCollection statements,
CodeVariableReferenceExpression
resultVar)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
744
else if (e is
CodeVariableReferenceExpression
)
746
GenerateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
1659
protected abstract void GenerateVariableReferenceExpression(
CodeVariableReferenceExpression
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
757
else if (e is
CodeVariableReferenceExpression
)
759
ValidateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
897
private static void ValidateVariableReferenceExpression(
CodeVariableReferenceExpression
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
991
private void GenerateVariableReferenceExpression(
CodeVariableReferenceExpression
e)
1889
else if (e is
CodeVariableReferenceExpression
)
1891
GenerateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
FrameworkFork\Microsoft.CodeDom\System\CodeVariableReferenceExpression.cs (1)
29
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeVariableReferenceExpression
'/>.
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 (3)
275
CodeVariableReferenceExpression
inValue = new CodeVariableReferenceExpression("inValue");
294
CodeVariableReferenceExpression
outVar = new CodeVariableReferenceExpression("retVal");
799
CodeVariableReferenceExpression
eventArgsRef = new CodeVariableReferenceExpression(eventArgsDecl.Name);