Share via


ProjectInfo.WithMetadataReferences Method

Definition

public:
 Microsoft::CodeAnalysis::ProjectInfo ^ WithMetadataReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ metadataReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithMetadataReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> metadataReferences);
public Microsoft.CodeAnalysis.ProjectInfo WithMetadataReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference>? metadataReferences);
member this.WithMetadataReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.ProjectInfo
Public Function WithMetadataReferences (metadataReferences As IEnumerable(Of MetadataReference)) As ProjectInfo

Parameters

metadataReferences
IEnumerable<MetadataReference>

Returns

Applies to