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

See Also

Reference

ISourceFile Interface
ISourceFile Members
NbLinesOfCode Property