Fetching contributors…
Cannot retrieve contributors at this time
40 lines (29 sloc) 801 Bytes


TypeName SA1120CommentsMustContainText
CheckId SA1120
Category Readability Rules


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.")]
#pragma warning disable SA1120 // CommentsMustContainText
#pragma warning restore SA1120 // CommentsMustContainText