NDepend.API Documentation
ShouldBePublic Property
NDepend.CodeModel Namespace > IMember Interface : ShouldBePublic Property
Gets a value indicating whether this member is used outside of its declaring assembly thanks to the attribute System.Compilers.Services.InternalsVisibleToAttribute.
Syntax
bool ShouldBePublic {get;}
Remarks
Often, having code elements that are considered as ShouldBePublic is not a problem because it is made on purpose. However, it can be interesting to list them.
Requirements

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

See Also

Reference

IMember Interface
IMember Members