NDepend.API Documentation
NbCharacters Property
NDepend.CodeModel Namespace > ISourceFile Interface : NbCharacters Property
Get the number of characters in this source file.
Syntax
uint NbCharacters {get;}
Remarks
Notice that this is not the size in bytes of the source file. If the source file has an encoding like UTF8, each ASCII character is coded on a byte and other characters can be coded on several bytes.
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