void AddRule( IRuleIssues ruleIssues )
Parameters
- ruleIssues
 - The rule and issues to add.
 
| Exception | Description | 
|---|---|
| System.ArgumentException | Thrown if IssuesSet already contains the ruleIssues.IRuleIssues.Rule. Also thrown if an issue of ruleIssues.IRuleIssues.Issues have a CodeElement that doesn't belong to IssuesSet.CodeBase.  | 
Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed