NDepend.API Documentation
IsUsedByMethod Method (IUsed)
NDepend.CodeModel Namespace > IUsed Interface : IsUsedByMethod Method
The method that potentially uses this code element.
Returns true if this code element is used by methodUser, otherwise returns false.
Syntax
bool IsUsedByMethod( 
   IMethod methodUser
)

Parameters

methodUser
The method that potentially uses this code element.
Requirements

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

See Also

Reference

IUsed Interface
IUsed Members