Send comments on this topic. |
|
Cause
Rule Description
A violation of this rule occurs when an opening curly bracket is followed by a blank line. For example:
public bool Enabled
{
get
{
return this.enabled;
}
}
The code above would generate two instances of this violation, since there are two places where opening curly brackets are followed by blank lines.
How to Fix Violations
To fix a violation of this rule, remove the blank line following the opening curly bracket.
© Microsoft Corporation. All Rights Reserved.