System.CodeDom.Compiler Namespace
The System.CodeDom.Compiler namespace contains types for managing the generation and compilation of source code in supported programming languages. Code generators can each produce source code in a particular programming language based on the structure of Code Document Object Model (CodeDOM) source code models consisting of elements provided by the System.CodeDom namespace.
| Class | Description | |
|---|---|---|
![]() | CodeCompiler | Provides an example implementation of the ICodeCompiler interface. |
![]() | CodeDomProvider | Provides a base class for CodeDomProvider implementations. This class is abstract. |
![]() | CodeGenerator | Provides an example implementation of the ICodeGenerator interface. This class is abstract. |
![]() | CodeGeneratorOptions | Represents a set of options used by a code generator. |
![]() | CodeParser | Provides an empty implementation of the ICodeParser interface. |
![]() | CompilerError | Represents a compiler error or warning. |
![]() | CompilerErrorCollection | Represents a collection of CompilerError objects. |
![]() | CompilerInfo | Represents the configuration settings of a language provider. This class cannot be inherited. |
![]() | CompilerParameters | Represents the parameters used to invoke a compiler. |
![]() | CompilerResults | Represents the results of compilation that are returned from a compiler. |
![]() | Executor | Provides command execution functions for invoking compilers. This class cannot be inherited. |
![]() | GeneratedCodeAttribute | Identifies code generated by a tool. This class cannot be inherited. |
![]() | IndentedTextWriter | Provides a text writer that can indent new lines by a tab string token. |
![]() | TempFileCollection | Represents a collection of temporary files. |
| Interface | Description | |
|---|---|---|
![]() | ICodeCompiler | Defines an interface for invoking compilation of source code or a CodeDOM tree using a specific compiler. |
![]() | ICodeGenerator | Defines an interface for generating code. |
![]() | ICodeParser | Defines an interface for parsing code into a CodeCompileUnit. |
| Enumeration | Description | |
|---|---|---|
![]() | GeneratorSupport | Defines identifiers used to determine whether a code generator supports certain types of code elements. |
![]() | LanguageOptions | Defines identifiers that indicate special features of a language. |


