Total .NET Analyzer Rule Documentation |
|
Only use the suffix 'Exception' for Exception 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 'Exception' only for types that extend an exception. Using this suffix for names that are not exception types can make your code difficult to read and maintain.
Resolution
To keep your code easy to read and maintain, you should remove the suffix 'Exception' from types that do not extend an exception.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Class Naming Guidelines