Total .NET Analyzer Rule Documentation |
|
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 always add the suffix 'Exception' to types that extend an exception.
Resolution
You should revise your Exception type names to include the suffix 'Exception.' For example, you would use 'DiskException' rather than 'Disk.'
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Class Naming Guidelines