Set ChainedStatementBlocksMustNotBePrecededByBlankLine to true
MODIFY
Settings.StyleCop
Settings.StyleCop
<BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
+ <Rule Name="ChainedStatementBlocksMustNotBePrecededByBlankLine">
+ <RuleSettings>
+ <BooleanProperty Name="Enabled">True</BooleanProperty>
+ </RuleSettings>
+ </Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>

Set ChainedStatementBlocksMustNotBePrecededByBlankLine to true