NDepend.API Documentation
NbLinesOfCode Property (ISourceFile)
NDepend.CodeModel Namespace > ISourceFile Interface : NbLinesOfCode Property
Gets a numeric nullable value counting the number of logical lines of code of type(s) declared in this source file.
Syntax
Nullable<uint> NbLinesOfCode {get;}
Remarks
If this source file contains a partial type declaration, only methods declared in this source file are taken account.
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
NbLinesOfCode Property