Compilation.GetAssemblyOrModuleSymbol(MetadataReference) 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.
Gets the IAssemblySymbol or IModuleSymbol for a metadata reference used to create this compilation.
public:
Microsoft::CodeAnalysis::ISymbol ^ GetAssemblyOrModuleSymbol(Microsoft::CodeAnalysis::MetadataReference ^ reference);
public Microsoft.CodeAnalysis.ISymbol GetAssemblyOrModuleSymbol (Microsoft.CodeAnalysis.MetadataReference reference);
public Microsoft.CodeAnalysis.ISymbol? GetAssemblyOrModuleSymbol (Microsoft.CodeAnalysis.MetadataReference reference);
member this.GetAssemblyOrModuleSymbol : Microsoft.CodeAnalysis.MetadataReference -> Microsoft.CodeAnalysis.ISymbol
Public Function GetAssemblyOrModuleSymbol (reference As MetadataReference) As ISymbol
Parameters
- reference
- MetadataReference
The target reference.
Returns
Assembly or module symbol corresponding to the given reference or null if there is none.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.