NDepend.API Documentation
OptimalVisibility Property
NDepend.CodeModel Namespace > IMember Interface : OptimalVisibility Property
Gets a Visibility value representing the optimal visibility this member could have.
Syntax
Visibility OptimalVisibility {get;}
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
CouldBeInternal Property
CouldBeProtected Property
CouldBeInternalProtected Property
CouldBePrivate Property
Visibility Property
CannotDecreaseVisibilityAttribute Class