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