-
Notifications
You must be signed in to change notification settings - Fork 4
Gendarme.Rules.Gendarme.ReviewAttributesOnRulesRule(git)
Sebastien Pouliot edited this page Mar 2, 2011
·
1 revision
Assembly: Gendarme.Rules.Gendarme
Version: git
This rule checks if attribute usage match the following rules:
- [Problem] and [Solution] attributes : should be used on rules only, every concrete rule must have both attributes (or inherit them), and their arguments cannot be null or empty
- [FxCopCompatibility] attribute : should be used on rules only, its arguments cannot be null or empty, and second argument should match this format: AB1234:FxCopRuleName
- [EngineDependency] attribute : should be used on rules only, its argument cannot be null or empty, and its argument should inherit from Gendarme.Framework.Engine
- [DocumentationUri] attribute : should be used on rules only
- [Description] and [DefaultValue] attributes : should be used on rules' public properties only, Description attribute argument cannot be null or empty
You can browse the latest source code of this rule on github.com
Note that this page was autogenerated (3/17/2011 1:55:44 PM) based on the xmldoc
comments inside the rules source code and cannot be edited from this wiki.
Please report any documentation errors, typos or suggestions to the
Gendarme Mailing List. Thanks!