Defines identifiers used to determine whether a code generator supports certain types of code elements.
Syntax
[System.Flags]
public enum GeneratorSupport
Remarks
Members
| Member Name | Description |
|---|
| ArraysOfArrays |
Indicates the generator supports arrays of arrays.
|
| AssemblyAttributes |
Indicates the generator supports assembly attributes.
|
| ChainedConstructorArguments |
Indicates the generator supports chained constructor arguments.
|
| ComplexExpressions |
Indicates the generator supports complex expressions.
|
| DeclareDelegates |
Indicates the generator supports delegate declarations.
|
| DeclareEnums |
Indicates the generator supports enumeration declarations.
|
| DeclareEvents |
Indicates the generator supports event declarations.
|
| DeclareIndexerProperties |
Indicates the generator supports the declaration of indexer properties.
|
| DeclareInterfaces |
Indicates the generator supports interface declarations.
|
| DeclareValueTypes |
Indicates the generator supports value type declarations.
|
| EntryPointMethod |
Indicates the generator supports a program entry point method designation. This is used when building executables.
|
| GenericTypeDeclaration |
Indicates the generator supports generic type declarations.
|
| GenericTypeReference |
Indicates the generator supports generic type references.
|
| GotoStatements |
Indicates the generator supports goto statements.
|
| MultidimensionalArrays |
Indicates the generator supports referencing multidimensional arrays. Currently, the CodeDom cannot be used to instantiate multidimensional arrays.
|
| MultipleInterfaceMembers |
Indicates the generator supports the declaration of members that implement multiple interfaces.
|
| NestedTypes |
Indicates the generator supports the declaration of nested types.
|
| ParameterAttributes |
Indicates the generator supports parameter attributes.
|
| PartialTypes |
Indicates the generator supports partial type declarations.
|
| PublicStaticMembers |
Indicates the generator supports public static members.
|
| ReferenceParameters |
Indicates the generator supports reference and out parameters.
|
| Resources |
Indicates the generator supports compilation with .NET Framework resources. These can be default resources compiled directly into an assembly, or resources referenced in a satellite assembly.
|
| ReturnTypeAttributes |
Indicates the generator supports return type attribute declarations.
|
| StaticConstructors |
Indicates the generator supports static constructors.
|
| TryCatchStatements |
Indicates the generator supports try...catch statements.
|
| Win32Resources |
Indicates the generator supports compilation with Win32 resources.
|
Requirements
Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0