88 references to GeneratorSupport
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 (60)
compmod\microsoft\csharp\csharpcodeprovider.cs (28)
115private const GeneratorSupport LanguageSupport = GeneratorSupport.ArraysOfArrays | 116GeneratorSupport.EntryPointMethod | 117GeneratorSupport.GotoStatements | 118GeneratorSupport.MultidimensionalArrays | 119GeneratorSupport.StaticConstructors | 120GeneratorSupport.TryCatchStatements | 121GeneratorSupport.ReturnTypeAttributes | 122GeneratorSupport.AssemblyAttributes | 123GeneratorSupport.DeclareValueTypes | 124GeneratorSupport.DeclareEnums | 125GeneratorSupport.DeclareEvents | 126GeneratorSupport.DeclareDelegates | 127GeneratorSupport.DeclareInterfaces | 128GeneratorSupport.ParameterAttributes | 129GeneratorSupport.ReferenceParameters | 130GeneratorSupport.ChainedConstructorArguments | 131GeneratorSupport.NestedTypes | 132GeneratorSupport.MultipleInterfaceMembers | 133GeneratorSupport.PublicStaticMembers | 134GeneratorSupport.ComplexExpressions | 136GeneratorSupport.Win32Resources | 138GeneratorSupport.Resources| 139GeneratorSupport.PartialTypes | 140GeneratorSupport.GenericTypeReference | 141GeneratorSupport.GenericTypeDeclaration | 142GeneratorSupport.DeclareIndexerProperties; 3133public bool Supports(GeneratorSupport support) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (28)
117private const GeneratorSupport LanguageSupport = GeneratorSupport.EntryPointMethod | 118GeneratorSupport.GotoStatements | 119GeneratorSupport.ArraysOfArrays | 120GeneratorSupport.MultidimensionalArrays | 121GeneratorSupport.StaticConstructors | 122GeneratorSupport.ReturnTypeAttributes | 123GeneratorSupport.AssemblyAttributes | 124GeneratorSupport.TryCatchStatements | 125GeneratorSupport.DeclareValueTypes | 126GeneratorSupport.DeclareEnums | 127GeneratorSupport.DeclareEvents | 128GeneratorSupport.DeclareDelegates | 129GeneratorSupport.DeclareInterfaces | 130GeneratorSupport.ParameterAttributes | 131GeneratorSupport.ReferenceParameters | 132GeneratorSupport.ChainedConstructorArguments | 133GeneratorSupport.NestedTypes | 134GeneratorSupport.MultipleInterfaceMembers | 135GeneratorSupport.PublicStaticMembers | 136GeneratorSupport.ComplexExpressions | 137GeneratorSupport.Win32Resources | 138GeneratorSupport.Resources| 139GeneratorSupport.PartialTypes| 140GeneratorSupport.GenericTypeReference | 141GeneratorSupport.GenericTypeDeclaration | 142GeneratorSupport.DeclareIndexerProperties; 2575protected override bool Supports(GeneratorSupport support) {
compmod\system\codedom\compiler\CodeDOMProvider.cs (1)
204public virtual bool Supports(GeneratorSupport generatorSupport) {
compmod\system\codedom\compiler\CodeGenerator.cs (2)
382bool ICodeGenerator.Supports(GeneratorSupport support) { 1869protected abstract bool Supports(GeneratorSupport support);
compmod\system\codedom\compiler\ICodeGenerator.cs (1)
55bool Supports(GeneratorSupport supports);
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)) {