2 writes to CodeGenerator
System.Web (1)
Compilation\WsdlBuildProvider.cs (1)
51importer.CodeGenerator = assemblyBuilder.CodeDomProvider;
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
274importer.CodeGenerator = codeProvider;
32 references to CodeGenerator
System.Web.Services (32)
System\Web\Services\Description\HttpProtocolImporter.cs (4)
173ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) && 174ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates); 272ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes))); 357ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes));
System\Web\Services\Description\MimeTextImporter.cs (1)
59ImportContext.ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes));
System\Web\Services\Description\MimeXmlImporter.cs (2)
75importer = new XmlSchemaImporter(ImportContext.ConcreteSchemas, ImportContext.ServiceImporter.CodeGenerationOptions, ImportContext.ServiceImporter.CodeGenerator, ImportContext.ImportContext); 90ImportContext.ServiceImporter.CodeGenerator, ImportContext.ServiceImporter.CodeGenerationOptions, ImportContext.ExportContext);
System\Web\Services\Description\ProtocolImporter.cs (2)
429ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) && 430ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates);
System\Web\Services\Description\SoapProtocolImporter.cs (23)
337xmlImporter = new XmlSchemaImporter(ConcreteSchemas, ServiceImporter.CodeGenerationOptions, ServiceImporter.CodeGenerator, ImportContext); 345xmlExporter = new XmlCodeExporter(this.CodeNamespace, ServiceImporter.CodeCompileUnit, ServiceImporter.CodeGenerator, ServiceImporter.CodeGenerationOptions, ExportContext); 346soapExporter = new SoapCodeExporter(this.CodeNamespace, null, ServiceImporter.CodeGenerator, ServiceImporter.CodeGenerationOptions, ExportContext); 440ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes)); 735if ((param.IsOut || param.IsByRef) && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ReferenceParameters)) { 736UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportReferenceParameters, ServiceImporter.CodeGenerator.GetType().Name)); 796if (paramsMetadata[j].Count > 0 && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ParameterAttributes)) { 797UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportParameterAttributes, ServiceImporter.CodeGenerator.GetType().Name)); 804string[] parameterTypes = SoapParameter.GetTypeFullNames(parameters.Parameters, parameters.CheckSpecifiedCount, ServiceImporter.CodeGenerator); 805string returnType = parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator); 824if (mainCodeMethod.ReturnTypeCustomAttributes.Count != 0 && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ReturnTypeAttributes)) { 825UnsupportedOperationWarning(Res.GetString(Res.CodeGenSupportReturnTypeAttributes, ServiceImporter.CodeGenerator.GetType().Name)); 835ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) && 836ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates); 846SoapParameter.GetTypeFullNames(parameters.InParameters, asyncParameterTypes, 0, parameters.InCheckSpecifiedCount, ServiceImporter.CodeGenerator); 877SoapParameter.GetTypeFullNames(parameters.OutParameters, asyncReturnTypes, 1, parameters.OutCheckSpecifiedCount, ServiceImporter.CodeGenerator); 892parameters.Return == null ? typeof(void).FullName : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator), 928SoapParameter.GetTypeFullNames(parameters.InParameters, parameters.InCheckSpecifiedCount, ServiceImporter.CodeGenerator), inParamNames, callbackMember, callbackName, userState); 951SoapParameter.GetTypeFullNames(parameters.OutParameters, asyncReturnTypes, 1, parameters.OutCheckSpecifiedCount, ServiceImporter.CodeGenerator); 952asyncReturnTypes[0] = parameters.Return == null ? null : WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator); 957ExtraCodeClasses.Add(WebCodeGenerator.CreateArgsClass(delegateInfo.handlerArgs, asyncReturnTypes, asyncReturnNames, ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes))); 980value = new CodeCastExpression(WebCodeGenerator.FullTypeName(parameter.mapping, ServiceImporter.CodeGenerator), value); 996value = new CodeCastExpression(WebCodeGenerator.FullTypeName(parameters.Return, ServiceImporter.CodeGenerator), value);