Compilation.CommonWithReferences(IEnumerable<MetadataReference>) Method

Definition

Creates a new compilation with the specified references.

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

Parameters

Returns

Applies to