MetadataReferenceResolver.ResolveMissingAssembly 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 a missing assembly reference.
public:
virtual Microsoft::CodeAnalysis::PortableExecutableReference ^ ResolveMissingAssembly(Microsoft::CodeAnalysis::MetadataReference ^ definition, Microsoft::CodeAnalysis::AssemblyIdentity ^ referenceIdentity);
public virtual Microsoft.CodeAnalysis.PortableExecutableReference ResolveMissingAssembly (Microsoft.CodeAnalysis.MetadataReference definition, Microsoft.CodeAnalysis.AssemblyIdentity referenceIdentity);
public virtual Microsoft.CodeAnalysis.PortableExecutableReference? ResolveMissingAssembly (Microsoft.CodeAnalysis.MetadataReference definition, Microsoft.CodeAnalysis.AssemblyIdentity referenceIdentity);
abstract member ResolveMissingAssembly : Microsoft.CodeAnalysis.MetadataReference * Microsoft.CodeAnalysis.AssemblyIdentity -> Microsoft.CodeAnalysis.PortableExecutableReference
override this.ResolveMissingAssembly : Microsoft.CodeAnalysis.MetadataReference * Microsoft.CodeAnalysis.AssemblyIdentity -> Microsoft.CodeAnalysis.PortableExecutableReference
Public Overridable Function ResolveMissingAssembly (definition As MetadataReference, referenceIdentity As AssemblyIdentity) As PortableExecutableReference
Parameters
- definition
- MetadataReference
The metadata definition (assembly or module) that declares assembly reference referenceIdentity
in its list of dependencies.
- referenceIdentity
- AssemblyIdentity
Identity of the assembly reference that couldn't be resolved against metadata references explicitly specified to in the compilation.
Returns
Resolved reference or null if the identity can't be resolved.
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.