SA1517: CodeMustNotContainBlankLinesAtStartOfFile

StyleCop

TypeName

CodeMustNotContainBlankLinesAtStartOfFile

CheckId

SA1517

Category

Layout Rules

Cause

The code file has blank lines at the start.

Rule Description

To improve the layout of the code, StyleCop requires no blank lines at the start of files.

A violation of this rule occurs when one or more blank lines are at the start of the file.

How to Fix Violations

To fix a violation of this rule, remove the blank lines from the start of the file.