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

See Also

Reference

IUsed Interface
IUsed Members