RoslynCompilationContext.Compilation 属性

定义

获取或设置 CSharpCompilation 用于当前源文件编译的 。

public:
 property Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ Compilation { Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ get(); void set(Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ value); };
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation Compilation { get; set; }
member this.Compilation : Microsoft.CodeAnalysis.CSharp.CSharpCompilation with get, set
Public Property Compilation As CSharpCompilation

属性值

适用于