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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ISourceFile Interface
ISourceFile Members