NDepend.API Documentation
CouldBePrivate Property
NDepend.CodeModel Namespace > IMember Interface : CouldBePrivate Property
Gets a value indicating whether this member could be declared as private in C# (Protected in VB.NET) within the context of the analyzed application.
Syntax
bool CouldBePrivate {get;}
Remarks
A member can be declared as protected if it is not used outside of its parent class.
Requirements

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

See Also

Reference

IMember Interface
IMember Members