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

See Also

Reference

IMember Interface
IMember Members