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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.