This documentation is archived and is not being maintained.
GeneratorSupport Enumeration
.NET Framework 1.1
Defines identifiers used to determine whether a code generator supports certain types of code elements.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] <Flags> <Serializable> Public Enum GeneratorSupport [C#] [Flags] [Serializable] public enum GeneratorSupport [C++] [Flags] [Serializable] __value public enum GeneratorSupport [JScript] public Flags Serializable enum GeneratorSupport
Remarks
These identifiers are used when calling the Supports method of a code generator to determine whether the code generator supports generating certain types of code.
Members
| Member name | Description | Value |
|---|---|---|
| ArraysOfArrays | Indicates the generator supports arrays of arrays. | 1 |
| AssemblyAttributes | Indicates the generator supports assembly attributes. | 4096 |
| ChainedConstructorArguments | Indicates the generator supports chained constructor arguments. | 32768 |
| ComplexExpressions | Indicates the generator supports complex expressions. | 524288 |
| DeclareDelegates | Indicates the generator supports delegate declarations. | 512 |
| DeclareEnums | Indicates the generator supports enumeration declarations. | 256 |
| DeclareEvents | Indicates the generator supports event declarations. | 2048 |
| DeclareInterfaces | Indicates the generator supports interface declarations. | 1024 |
| DeclareValueTypes | Indicates the generator supports value type declarations. | 128 |
| EntryPointMethod | Indicates the generator supports a program entry point method designation. This is used when building executables. | 2 |
| GotoStatements | Indicates the generator supports goto statements. | 4 |
| MultidimensionalArrays | Indicates the generator supports referencing multidimensional arrays. Currently, the CodeDom cannot be used to instantiate multidimensional arrays. | 8 |
| MultipleInterfaceMembers | Indicates the generator supports the declaration of members that implement multiple interfaces. | 131072 |
| NestedTypes | Indicates the generator supports the declaration of nested types. | 65536 |
| ParameterAttributes | Indicates the generator supports parameter attributes. | 8192 |
| PublicStaticMembers | Indicates the generator supports public static members. | 262144 |
| ReferenceParameters | Indicates the generator supports reference and out parameters. | 16384 |
| ReturnTypeAttributes | Indicates the generator supports return type attribute declarations. | 64 |
| StaticConstructors | Indicates the generator supports static constructors. | 16 |
| TryCatchStatements | Indicates the generator supports try...catch statements. | 32 |
| Win32Resources | Indicates the generator supports compilation with Win32 resources. | 1048576 |
Requirements
Namespace: System.CodeDom.Compiler
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
System.CodeDom.Compiler Namespace | ICodeGenerator | Supports
Show: