RCS0007: Add blank line between accessors
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
string P
{
get
{
return _p;
}
set
{
_p = value;
}
}
fix.cs
string P
{
get
{
return _p;
}
set
{
_p = value;
}
}
Remarks
This rule does not enforce an blank line between two single-line accessors.