Send comments on this topic. |
|
SA1506: ElementDocumentationHeadersMustNotBeFollowedByBlankLine |
ElementDocumentationHeadersMustNotBeFollowedByBlankLine |
|
CheckId |
SA1506 |
Category |
Layout Rules |
Cause
Rule Description
A violation of this rule occurs when the element documentation header above an element is followed by a blank line. For example:
/// <summary>
/// Gets a value indicating whether the control is enabled.
/// </summary>
public bool Enabled
{
get { return this.enabled; }
}
The code above would generate an instance of this violation, since the documentation header is followed by a blank line.
How to Fix Violations
© Microsoft Corporation. All Rights Reserved.