共用方式為


CSharpCompilation.RemoveAllReferences 方法

定義

建立不含任何中繼資料參考的新編譯

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ RemoveAllReferences();
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation RemoveAllReferences ();
override this.RemoveAllReferences : unit -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function RemoveAllReferences () As CSharpCompilation

傳回

適用於