共用方式為


Compilation.CommonWithReferences(IEnumerable<MetadataReference>) 方法

定義

使用指定的參考建立新的編譯。

protected:
 abstract Microsoft::CodeAnalysis::Compilation ^ CommonWithReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ newReferences);
protected abstract Microsoft.CodeAnalysis.Compilation CommonWithReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> newReferences);
abstract member CommonWithReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.Compilation
Protected MustOverride Function CommonWithReferences (newReferences As IEnumerable(Of MetadataReference)) As Compilation

參數

傳回

適用於