NDepend.API Documentation
CouldBeInternalProtected Property
NDepend.CodeModel Namespace > IMember Interface : CouldBeInternalProtected Property
Gets a value indicating whether this member is declared as public, but could be declared as protected internal in C# (Protected Friend in VB.NET) within the context of the analyzed application.
Syntax
bool CouldBeInternalProtected {get;}
Remarks
A public member can be declared as protected internal (reads protected or internal) if it is not used outside of the assembly it is declared in and if it is not used outside of the classes that derive from the class it is declared in.
When analyzing a framework, some of the public members will be considered as CouldBeInternalProtected because there is no analyzed client code using them.
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