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