Location.MetadataModule Property
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.
Returns the metadata module the location is associated with or null
if the module is not available.
public:
virtual property Microsoft::CodeAnalysis::IModuleSymbol ^ MetadataModule { Microsoft::CodeAnalysis::IModuleSymbol ^ get(); };
public virtual Microsoft.CodeAnalysis.IModuleSymbol MetadataModule { get; }
public Microsoft.CodeAnalysis.IModuleSymbol? MetadataModule { get; }
member this.MetadataModule : Microsoft.CodeAnalysis.IModuleSymbol
Public Overridable ReadOnly Property MetadataModule As IModuleSymbol
Public ReadOnly Property MetadataModule As IModuleSymbol
Property Value
Remarks
Might return null even if IsInMetadata returns true. The module symbol might not be available anymore, for example, if the location is serialized and deserialized.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.