NDepend.API Documentation
VisibilityWasChanged Method (ICompareContext)
NDepend.CodeModel Namespace > ICompareContext Interface : VisibilityWasChanged Method
The IMember object. A IMember object can be a IType, IMethod or IField object.
Returns true if the visibility of this member has been changed.
Syntax
bool VisibilityWasChanged( 
   IMember member
)

Parameters

member
The IMember object. A IMember object can be a IType, IMethod or IField object.
Exceptions
ExceptionDescription
member does not belong to NewerCodeBase nor OlderCodeBase.
Remarks
This method has a constant time complexity.
Requirements

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

See Also

Reference

ICompareContext Interface
ICompareContext Members
VisibilityWasChanged Method