NDepend.API Documentation
IsRuleId Property
NDepend.Issue Namespace > RuleIdOrCategory Class : IsRuleId Property
Returns true if the corresponding usage of System.Diagnostics.CodeAnalysis.SuppressMessageAttribute relies on a rule-id.
Syntax
public bool IsRuleId {get;}
Remarks
For example [SuppressMessage("NDepend", "ND1001")] relies on the NDepend rule-id "ND1001".
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