TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
C# Coding Standard

Rule:  7@105Checked automatically with code checker

Synopsis:Explicitly define a protected constructor on an abstract base class
Severity Level:3
Category:Object oriented


Of course an abstract class cannot be instantiated, so a public constructor should be harmless. However, [MS Design] states:

Many compilers will insert a public or protected constructor if you do not. Therefore, for better documentation and readability of your source code, you should explicitly define a protected constructor on all abstract classes.