Total .NET Analyzer Rule Documentation |
|
Only use the suffix 'Attribute' for Attribute class names.
Remarks
Using a standardized naming convention is an important element in writing code that is easy to read, understand, and maintain. Microsoft recommends that you use the suffix 'Attribute' only for attribute classes. Using this suffix for names that are not attribute classes can make your code difficult to read and maintain.
Resolution
To keep your code easy to read and maintain, you should remove the suffix 'Attribute' from classes that are not attributes.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Attribute Names