28 references to Supports
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
665if (codeProvider.Supports(GeneratorSupport.PartialTypes) && _ccRoot.SubClass.Length == 0) 3091if (codeProvider.Supports(GeneratorSupport.EntryPointMethod)) 3162if (codeProvider.Supports(GeneratorSupport.AssemblyAttributes))
System.Runtime.Serialization (6)
System\Runtime\Serialization\CodeExporter.cs (6)
168get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.DeclareEvents); } 176get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.DeclareValueTypes); } 184get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.GenericTypeReference); } 192get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.AssemblyAttributes); } 200get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.PartialTypes); } 208get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.NestedTypes); }
System.Web (1)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1789_codeDomProvider.Supports(GeneratorSupport.Win32Resources);
System.Web.Services (14)
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\ProtocolImporter.cs (2)
429ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) && 430ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates);
System\Web\Services\Description\SoapProtocolImporter.cs (7)
440ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes)); 735if ((param.IsOut || param.IsByRef) && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ReferenceParameters)) { 796if (paramsMetadata[j].Count > 0 && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ParameterAttributes)) { 824if (mainCodeMethod.ReturnTypeCustomAttributes.Count != 0 && !ServiceImporter.CodeGenerator.Supports(GeneratorSupport.ReturnTypeAttributes)) { 835ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareEvents) && 836ServiceImporter.CodeGenerator.Supports(GeneratorSupport.DeclareDelegates); 957ExtraCodeClasses.Add(WebCodeGenerator.CreateArgsClass(delegateInfo.handlerArgs, asyncReturnTypes, asyncReturnNames, ServiceImporter.CodeGenerator.Supports(GeneratorSupport.PartialTypes)));
System.Xml (4)
System\Xml\Serialization\Mappings.cs (1)
882if (IsNeedNullable && codeProvider.Supports(GeneratorSupport.GenericTypeReference)) {
System\Xml\Serialization\SoapCodeExporter.cs (1)
132codeClass.IsPartial = CodeProvider.Supports(GeneratorSupport.PartialTypes);
System\Xml\Serialization\XmlCodeExporter.cs (2)
498codeClass.IsPartial = CodeProvider.Supports(GeneratorSupport.PartialTypes); 781if (isNullable != null && (bool)isNullable && typeDesc.IsValueType && !typeDesc.IsMappedType && CodeProvider.Supports(GeneratorSupport.GenericTypeReference)) {