1. Home /
  2. Option Reference /
  3. Blank Lines

csharp_blank_lines_around_property

Blank lines before and after each property, indexer or event.

Values

Value Notes
<integer> Any integer.

Default: 0

Conformance

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

csharp_blank_lines_around_property = 1

csharp_blank_lines_around_property = 1
		
namespace N;

public class Widget
{
    public int X { get; set; }
    public int Y { get; set; }
    public int Z { get; set; }
}
		
namespace N;

public class Widget
{
    public int X { get; set; }

    public int Y { get; set; }

    public int Z { get; set; }
}
		
Previous
Blank Lines
Next
Expression Bodies
  • View as Markdown
  • Edit this page
On this page
  • Values
  • Conformance
  • csharp_blank_lines_around_property = 1
  • Home

  • Why Curb
  • Getting started
    • Installation
  • Design principles
    • Conformance
    • Conformance divergences
    • Performance
    • Reflow
    • Safety
    • AI coding agents
    • Working with existing tooling
    • Syntax and semantic passes
  • Integrations
    • The build integration
    • Cleanup
    • Agent instructions
  • Why not X?
    • CSharpier
    • dotnet format
    • Rider / ReSharper
    • EditorConfig analyzers
  • Option Reference
    • Core
    • New Lines
    • Indentation
    • Spacing
    • Wrapping
    • Blank Lines
    • Expression Bodies
    • Usings
    • Modifiers and Braces
    • Trailing Commas
    • Suppression
  • Known limitations
  • Benchmarks
    • Churn