Types should not extend certain base types
.NET Framework 2.0
| TypeName | TypesShouldNotExtendCertainBaseTypes |
| CheckId | CA1058 |
| Category | Microsoft.Design |
| Breaking Change | Breaking |
For .NET Framework version 1, it was recommended to derive new exceptions from ApplicationException. The recommendation has changed and new exceptions should derive from System.Exception or one of its subclasses in the System namespace.
Do not create a subclass of XmlDocument if you want to create an XML view of an underlying object model or data source.