NDepend.API Documentation
SourceFileDeclAvailable Property (ICodeElement)
NDepend.CodeModel Namespace > ICodeElement Interface : SourceFileDeclAvailable Property
Gets a value indicating whether source file declaration(s) of this code element have been gathered at analysis time and is now available.
Syntax
bool SourceFileDeclAvailable {get;}

Property Value

true if source file declaration(s) are available for this code element.
Remarks
So far only C# code is parsed and also, source file declarations for abstract methods and fields are not retreived. This situation will evolve in the future.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ICodeElement Interface
ICodeElement Members
IProjectSourceFilesRebasing Interface
SourceDecls Property
TryOpenSource(ICodeElement) Method
TryCompareSourceWith(ISourceDecl,ISourceDecl) Method