NDepend.API Documentation
IsCategory Property
NDepend.Issue Namespace > RuleIdOrCategory Class : IsCategory Property
Returns true if the corresponding usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute relies on a category.
Syntax
public bool IsCategory {get;}
Remarks
For example [SuppressMessage("NDepend.CodeSmells", "ND1001")] relies on the NDepend category "CodeSmells". This category can be declared as the group name "Code Smells" in the rules-set since spaces are removed from group names to match categories.
Requirements

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

See Also

Reference

RuleIdOrCategory Class
RuleIdOrCategory Members