SA1120.md
August 24, 2015 ยท View on GitHub
SA1120
| TypeName | SA1120CommentsMustContainText |
| 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.")]
#pragma warning disable SA1120 // CommentsMustContainText
#pragma warning restore SA1120 // CommentsMustContainText