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