NDepend.API Documentation
IsCriticalRule Property (CodeRuleAttribute)
NDepend.Attributes Namespace > CodeRuleAttribute Class : IsCriticalRule Property
Gets or sets a value that indicates whether the code rule is critical or not.
Syntax
public bool IsCriticalRule {get; set;}
Remarks
The default value is false.
A critical code rule is useful to break the build process once the rule is violated.
More information at: Critical Rules and Build Failure
Requirements

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

See Also

Reference

CodeRuleAttribute Class
CodeRuleAttribute Members