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
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.