Skip to content
ptittof57 edited this page Aug 15, 2015 · 3 revisions
<title>SA1648: InheritDocMustBeUsedWithInheritingClass</title> <script src="script/helpstudio.js" type="text/javascript"></script> <script src="script/StandardText.js" type="text/jscript"></script>
<script type="text/jscript">WritePageTop(document.title);</script>

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.

How to Suppress Violations

[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1648:InheritDocMustBeUsedWithInheritingClass", Justification = "Reviewed.")]
Clone this wiki locally