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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET