SA1648: InheritDocMustBeUsedWithInheritingClass

StyleCop

TypeName

InheritDocMustBeUsedWithInheritingClass

CheckId

SA1648

Category

Documentation Rules

Cause

<inheritdoc> has been used on an element that doesnt inherit from a base class or implement an interface..

Rule Description

Verifies that an 'inheritdoc' tag is not used when the class or interface does not inherit from a base class or interface.

A violation of this rule occurs when the element having the inheritdoc tag doesn't inherit from a base case or implement an interface.

How to Fix Violations

To fix a violation of this rule, remove the <inheritdoc> tag and document the element appropriately.