NDepend.API Documentation
AsMember Property
NDepend.CodeModel Namespace > ICodeElement Interface : AsMember Property
Gets this code element casted to IMember if it is a method or field, else gets null.
Syntax
IMember AsMember {get;}
Requirements

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

See Also

Reference

ICodeElement Interface
ICodeElement Members