72 references to GeneratorSupport
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
234bool useStatic = internalClass || codeProvider.Supports(GeneratorSupport.PublicStaticMembers);
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
652if (codeProvider.Supports(GeneratorSupport.PartialTypes) && _ccRoot.SubClass.Length == 0) 3166if (codeProvider.Supports(GeneratorSupport.EntryPointMethod)) 3237if (codeProvider.Supports(GeneratorSupport.AssemblyAttributes))
System (1)
src\libraries\shims\System\ref\System.cs (1)
123[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.GeneratorSupport))]
System.CodeDom (60)
Microsoft\CSharp\CSharpCodeGenerator.cs (28)
29private const GeneratorSupport LanguageSupport = GeneratorSupport.ArraysOfArrays | 30GeneratorSupport.EntryPointMethod | 31GeneratorSupport.GotoStatements | 32GeneratorSupport.MultidimensionalArrays | 33GeneratorSupport.StaticConstructors | 34GeneratorSupport.TryCatchStatements | 35GeneratorSupport.ReturnTypeAttributes | 36GeneratorSupport.AssemblyAttributes | 37GeneratorSupport.DeclareValueTypes | 38GeneratorSupport.DeclareEnums | 39GeneratorSupport.DeclareEvents | 40GeneratorSupport.DeclareDelegates | 41GeneratorSupport.DeclareInterfaces | 42GeneratorSupport.ParameterAttributes | 43GeneratorSupport.ReferenceParameters | 44GeneratorSupport.ChainedConstructorArguments | 45GeneratorSupport.NestedTypes | 46GeneratorSupport.MultipleInterfaceMembers | 47GeneratorSupport.PublicStaticMembers | 48GeneratorSupport.ComplexExpressions | 49GeneratorSupport.Win32Resources | 50GeneratorSupport.Resources | 51GeneratorSupport.PartialTypes | 52GeneratorSupport.GenericTypeReference | 53GeneratorSupport.GenericTypeDeclaration | 54GeneratorSupport.DeclareIndexerProperties; 2655public bool Supports(GeneratorSupport support) => (support & LanguageSupport) == support;
Microsoft\VisualBasic\VBCodeGenerator.cs (28)
21private const GeneratorSupport LanguageSupport = GeneratorSupport.EntryPointMethod | 22GeneratorSupport.GotoStatements | 23GeneratorSupport.ArraysOfArrays | 24GeneratorSupport.MultidimensionalArrays | 25GeneratorSupport.StaticConstructors | 26GeneratorSupport.ReturnTypeAttributes | 27GeneratorSupport.AssemblyAttributes | 28GeneratorSupport.TryCatchStatements | 29GeneratorSupport.DeclareValueTypes | 30GeneratorSupport.DeclareEnums | 31GeneratorSupport.DeclareEvents | 32GeneratorSupport.DeclareDelegates | 33GeneratorSupport.DeclareInterfaces | 34GeneratorSupport.ParameterAttributes | 35GeneratorSupport.ReferenceParameters | 36GeneratorSupport.ChainedConstructorArguments | 37GeneratorSupport.NestedTypes | 38GeneratorSupport.MultipleInterfaceMembers | 39GeneratorSupport.PublicStaticMembers | 40GeneratorSupport.ComplexExpressions | 41GeneratorSupport.Win32Resources | 42GeneratorSupport.Resources | 43GeneratorSupport.PartialTypes | 44GeneratorSupport.GenericTypeReference | 45GeneratorSupport.GenericTypeDeclaration | 46GeneratorSupport.DeclareIndexerProperties; 2372protected override bool Supports(GeneratorSupport support)
System\CodeDom\Compiler\CodeDomProvider.cs (1)
157public virtual bool Supports(GeneratorSupport generatorSupport) =>
System\CodeDom\Compiler\CodeGenerator.cs (2)
252bool ICodeGenerator.Supports(GeneratorSupport support) => Supports(support); 1611protected abstract bool Supports(GeneratorSupport support);
System\CodeDom\Compiler\ICodeGenerator.cs (1)
15bool Supports(GeneratorSupport supports);
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
163get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.DeclareEvents); } 168get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.DeclareValueTypes); } 173get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.GenericTypeReference); } 178get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.AssemblyAttributes); } 183get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.PartialTypes); } 188get { return (CodeProvider == null) ? true : CodeProvider.Supports(GeneratorSupport.NestedTypes); }
System.Windows.Forms.Design (1)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
392bool useStatic = internalClass || codeProvider.Supports(GeneratorSupport.PublicStaticMembers);