NDepend.API Documentation
DirectoryPath Property
NDepend.CodeModel Namespace > ISourceFile Interface : DirectoryPath Property
Gets a string that contains this absolute source file's parent directory path, like "C:\Dir" for the source file "C:\Dir\FileName.cs".
Syntax
string DirectoryPath {get;}
Requirements

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

See Also

Reference

ISourceFile Interface
ISourceFile Members