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

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
Language:C#
Severity Level:3
Category:Object oriented


Description:

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.