Navigation:  StyleCop 4.3 > StyleCop 4.3 Rules > Readability Rules >

SA1120: CommentsMustContainText

Previous pageReturn to chapter overviewNext page
StyleCop 4.3

Send comments on this topic.

SA1120: CommentsMustContainText

Glossary Item Box

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.

 


© Microsoft Corporation. All Rights Reserved.