Microsoft.CSharp 命名空间
包含支持使用 C# 语言进行编译和代码生成的类。 Contains classes that support compilation and code generation using the C# language.
类
| Compiler |
C# 编译器的托管包装器。Managed wrapper for the C# compiler. |
| CompilerError |
表示编译器报告的错误或诊断消息。Represents an error or diagnostic message reported by the compiler. |
| CSharpCodeProvider |
提供对 C# 代码生成器和代码编译器的实例的访问权限。Provides access to instances of the C# code generator and code compiler. |
枚举
| ErrorLevel |
指定编译器诊断的严重级别。Specifies the severity of a compiler diagnostic. |