Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

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
Public class CodeCompiler Provides an example implementation of the ICodeCompiler interface.
Public class CodeDomProvider Provides a base class for CodeDomProvider implementations. This class is abstract.
Public class CodeGenerator Provides an example implementation of the ICodeGenerator interface. This class is abstract.
Public class CodeGeneratorOptions Represents a set of options used by a code generator.
Public class CodeParser Provides an empty implementation of the ICodeParser interface.
Public class CompilerError Represents a compiler error or warning.
Public class CompilerErrorCollection Represents a collection of CompilerError objects.
Public class CompilerInfo Represents the configuration settings of a language provider. This class cannot be inherited.
Public class CompilerParameters Represents the parameters used to invoke a compiler.
Public class CompilerResults Represents the results of compilation that are returned from a compiler.
Public class Executor Provides command execution functions for invoking compilers. This class cannot be inherited.
Public class Supported by Portable Class Library GeneratedCodeAttribute Identifies code generated by a tool. This class cannot be inherited.
Public class IndentedTextWriter Provides a text writer that can indent new lines by a tab string token.
Public class TempFileCollection Represents a collection of temporary files.

  Interface Description
Public interface ICodeCompiler Defines an interface for invoking compilation of source code or a CodeDOM tree using a specific compiler.
Public interface ICodeGenerator Defines an interface for generating code.
Public interface ICodeParser Defines an interface for parsing code into a CodeCompileUnit.

  Enumeration Description
Public enumeration GeneratorSupport Defines identifiers used to determine whether a code generator supports certain types of code elements.
Public enumeration LanguageOptions Defines identifiers that indicate special features of a language.
© 2015 Microsoft