Compilation.CommonWithReferences(IEnumerable<MetadataReference>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的參考建立新的編譯。
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
參數
- newReferences
- IEnumerable<MetadataReference>