CommandLineArguments.ResolveMetadataReferences Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves metadata references stored in MetadataReferences using given file resolver and metadata provider.
public:
System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ ResolveMetadataReferences(Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataResolver);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> ResolveMetadataReferences (Microsoft.CodeAnalysis.MetadataReferenceResolver metadataResolver);
member this.ResolveMetadataReferences : Microsoft.CodeAnalysis.MetadataReferenceResolver -> seq<Microsoft.CodeAnalysis.MetadataReference>
Public Function ResolveMetadataReferences (metadataResolver As MetadataReferenceResolver) As IEnumerable(Of MetadataReference)
Parameters
- metadataResolver
- MetadataReferenceResolver
MetadataReferenceResolver to use for assembly name and relative path resolution.
Returns
Yields resolved metadata references or UnresolvedMetadataReference.
Exceptions
metadataResolver
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.