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

Rule:  7@403

Synopsis:It shall be possible to use a reference to an object of a derived class wherever a reference to that object's base class object is used
Severity Level:3
Category:Object oriented


This rule is known as the Liskov Substitution Principle, (see [Liskov 88]), often abbreviated to LSP. Please note that an interface is also regarded as a base class in this context.