102 instantiations of CodeTypeReferenceExpression
dotnet-svcutil-lib (102)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
247
CodeTypeReferenceExpression xmlNodeType = new
CodeTypeReferenceExpression
(typeof(Microsoft.Xml.XmlNodeType));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
55
new
CodeTypeReferenceExpression
(implMethod.ReturnType),
CodeDomFixup\ConfigToCode.cs (13)
78
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointNames[0]),
193
new
CodeTypeReferenceExpression
(clientType.Name),
197
new
CodeTypeReferenceExpression
(clientType.Name),
220
new
CodeTypeReferenceExpression
(clientType.Name),
225
new
CodeTypeReferenceExpression
(clientType.Name),
250
new
CodeTypeReferenceExpression
(clientType.Name),
279
new
CodeTypeReferenceExpression
(clientType.Name),
323
new
CodeTypeReferenceExpression
(clientType.Name),
327
new
CodeTypeReferenceExpression
(clientType.Name),
350
new
CodeTypeReferenceExpression
(clientType.Name),
355
new
CodeTypeReferenceExpression
(clientType.Name),
379
new
CodeTypeReferenceExpression
(clientType.Name),
406
new
CodeTypeReferenceExpression
(clientType.Name),
CodeDomFixup\MethodCreationHelper.cs (71)
142
new
CodeTypeReferenceExpression
(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointConfigurationName)));
301
new
CodeTypeReferenceExpression
(typeof(WSMessageEncoding)),
348
new
CodeTypeReferenceExpression
(typeof(SecurityMode)),
362
new
CodeTypeReferenceExpression
(typeof(HttpClientCredentialType)),
376
new
CodeTypeReferenceExpression
(typeof(MessageCredentialType)),
442
new
CodeTypeReferenceExpression
(typeof(WSMessageEncoding)),
489
new
CodeTypeReferenceExpression
(typeof(SecurityMode)),
503
new
CodeTypeReferenceExpression
(typeof(HttpClientCredentialType)),
517
new
CodeTypeReferenceExpression
(typeof(MessageCredentialType)),
584
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SecurityMode)), "Transport"))));
592
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.HttpClientCredentialType)), "Basic")));
611
new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters",
620
new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters",
648
new
CodeTypeReferenceExpression
(typeof(WSMessageEncoding)),
695
new
CodeTypeReferenceExpression
(typeof(SecurityMode)),
733
new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Security.SecurityAlgorithmSuite)),
788
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SecurityMode)), "Transport"))));
796
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.HttpClientCredentialType)), "Basic")));
815
new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters",
824
new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters",
852
new
CodeTypeReferenceExpression
(typeof(WSMessageEncoding)),
899
new
CodeTypeReferenceExpression
(typeof(SecurityMode)),
937
new
CodeTypeReferenceExpression
(typeof(System.ServiceModel.Security.SecurityAlgorithmSuite)),
1124
new
CodeTypeReferenceExpression
(typeof(SecurityBindingElement)),
1176
new
CodeTypeReferenceExpression
(typeof(MessageSecurityVersion)),
1187
new
CodeTypeReferenceExpression
(typeof(SecurityHeaderLayout)),
1215
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1225
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1234
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1310
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1320
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1329
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1380
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1387
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
1397
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1409
new
CodeTypeReferenceExpression
(typeof(AuthenticationSchemes)),
1450
new
CodeTypeReferenceExpression
(typeof(MessageVersion)),
1462
new
CodeTypeReferenceExpression
(typeof(Encoding)),
1492
new
CodeTypeReferenceExpression
(typeof(MessageVersion)),
1504
new
CodeTypeReferenceExpression
(typeof(Encoding)),
1604
new
CodeTypeReferenceExpression
(typeof(ReliableMessagingVersion)),
1715
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1727
new
CodeTypeReferenceExpression
(typeof(SecurityMode)),
1751
new
CodeTypeReferenceExpression
(typeof(TcpClientCredentialType)),
1765
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)),
1779
new
CodeTypeReferenceExpression
(typeof(MessageCredentialType)),
1835
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1847
new
CodeTypeReferenceExpression
(typeof(NetNamedPipeSecurityMode)),
1863
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)),
1907
new
CodeTypeReferenceExpression
(typeof(WSMessageEncoding)),
1927
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
1939
new
CodeTypeReferenceExpression
(typeof(BasicHttpSecurityMode)),
1953
new
CodeTypeReferenceExpression
(typeof(HttpClientCredentialType)),
1967
new
CodeTypeReferenceExpression
(typeof(BasicHttpMessageCredentialType)),
2022
new
CodeTypeReferenceExpression
(typeof(NetHttpMessageEncoding)),
2034
new
CodeTypeReferenceExpression
(typeof(TransferMode)),
2046
new
CodeTypeReferenceExpression
(typeof(BasicHttpSecurityMode)),
2070
new
CodeTypeReferenceExpression
(typeof(HttpClientCredentialType)),
2084
new
CodeTypeReferenceExpression
(typeof(BasicHttpMessageCredentialType)),
2101
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
2108
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(XmlDictionaryReaderQuotas)), "Max")));
2115
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
2125
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(XmlDictionaryReaderQuotas)), "Max")));
2132
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(int)), "MaxValue")));
2166
new
CodeTypeReferenceExpression
(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointConfigurationName)),
2191
new
CodeTypeReferenceExpression
(clientTypeName),
2194
new
CodeTypeReferenceExpression
(
2201
new
CodeTypeReferenceExpression
(clientTypeName),
2204
new
CodeTypeReferenceExpression
(
2216
new
CodeTypeReferenceExpression
(typeof(string)),
2226
new
CodeTypeReferenceExpression
(typeof(string)),
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
234
CodeExpression enumRef = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(mapping.TypeDesc.FullName), values[i]);
243
valueExpression = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(mapping.TypeDesc.FullName), (string)value);
912
attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1591
new
CodeTypeReferenceExpression
(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)),
1612
new
CodeTypeReferenceExpression
(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)),
1648
new
CodeTypeReferenceExpression
(GetCodeTypeReference(typeof(XmlSerializableServices))),
1759
left = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(Globals.TypeOfObject),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
45
new
CodeTypeReferenceExpression
(typeof(V)),
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
255
CodeTypeReferenceExpression browsableAttributeState = new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
772
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), message.ProtectionLevel.ToString())));
1028
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(type), Enum.Format(type, val, "G"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (5)
181
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G"));
362
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString())));
374
new
CodeTypeReferenceExpression
(typeof(SessionMode)), context.Contract.SessionMode.ToString())));
419
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString())));
615
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
16 references to CodeTypeReferenceExpression
dotnet-svcutil-lib (16)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
247
CodeTypeReferenceExpression
xmlNodeType = new CodeTypeReferenceExpression(typeof(Microsoft.Xml.XmlNodeType));
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
500
protected override void Visit(
CodeTypeReferenceExpression
expr)
639
else if (expr is
CodeTypeReferenceExpression
)
640
Visit((
CodeTypeReferenceExpression
)expr);
672
protected virtual void Visit(
CodeTypeReferenceExpression
expr) { }
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
804
else if (e is
CodeTypeReferenceExpression
)
806
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
1863
protected virtual void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (2)
817
else if (e is
CodeTypeReferenceExpression
)
819
ValidateTypeReference(((
CodeTypeReferenceExpression
)e).Type);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1949
else if (e is
CodeTypeReferenceExpression
)
1951
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
2612
private void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e)
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceExpression.cs (2)
29
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeTypeReferenceExpression
'/>.
38
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeTypeReferenceExpression
'/> using the specified type.
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
255
CodeTypeReferenceExpression
browsableAttributeState = new CodeTypeReferenceExpression(typeof(EditorBrowsableState));