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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.