csharp_place_simple_enum_on_single_line

Allow a short enum body to stay on one line.

Value Notes
true
false

Default: true

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

Ini
csharp_place_simple_enum_on_single_line = true
C#
namespace N;

public enum Status { Active, Inactive, Pending }
C#
namespace N;

public enum Status { Active, Inactive, Pending }
Ini
csharp_place_simple_enum_on_single_line = false
C#
namespace N;

public enum Status { Active, Inactive, Pending }
C#
namespace N;

public enum Status
{
    Active,
    Inactive,
    Pending
}