CA1047: Do not declare protected members in sealed types
Visual Studio 2010
TypeName | DoNotDeclareProtectedMembersInSealedTypes |
CheckId | CA1047 |
Category | Microsoft.Design |
Breaking Change | Non-breaking |
A public type is sealed (NotInheritable in Visual basic) and declares a protected member or a protected nested type. This rule does not report violations for Finalize methods, which must follow this pattern.