NDepend.API Documentation
Scope Property
NDepend.Issue Namespace > ISuppressMessage Interface : Scope Property
The scope of code element(s) on which to suppress issues.
Syntax
SuppressMessageScope Scope {get;}
Remarks
If the returned value is SuppressMessageScope.SuppressMessageScope.ThisOnly, issues are suppressed only for ISuppressMessage.CodeElement and not for any of its child code element.
Else issues are suppressed eventually for ISuppressMessage.CodeElement (if it is matched by the scope value) and the child elements defined by the scope.
Requirements

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

See Also

Reference

ISuppressMessage Interface
ISuppressMessage Members