Editorconfig Guide.e

New line before finally

EditorConfig key: csharp-new-line-before-finally

New line before finally

csharp-new-line-before-finally

This option controls whether a finally clause should start on a new line.

Default value:

true

Possible values:

  • true
  • false

Examples

true
try {
  x++;
}
finally {
  x--;
}
false
try {
  x++;
} finally {
  x--;
}