Skip to content
ptittof57 edited this page Aug 15, 2015 · 2 revisions
<title>SA1120: CommentsMustContainText</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

CommentsMustContainText

CheckId

SA1120

Category

Readability Rules

Cause

The C# comment does not contain any comment text.

Rule Description

A violation of this rule occurs whenever the code contains a C# comment which does not contain any text.

How to Fix Violations

To fix a violation of this rule, add text to the comment, or remove the comment.

How to Suppress Violations

[SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1120:CommentsMustContainText", Justification = "Reviewed.")]
    </div>
</body>
Clone this wiki locally