csharp_wrap_before_extends_colon

Put a base list on its own line, colon first, or keep it on the declaration's. Not set, a list the author broke stays broken unless a width decides layout.

Value Notes
true
false

Default: (not set)

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

Ini
csharp_wrap_before_extends_colon = true
C#
namespace N;

public class Widget : Base, IWidget
{
    public int X { get; set; }

    public void Run()
    {
        X = X + 1;
    }
}
C#
namespace N;

public class Widget
: Base, IWidget
{
    public int X { get; set; }

    public void Run()
    {
        X = X + 1;
    }
}
Ini
csharp_wrap_before_extends_colon = false
C#
namespace N;

public class Widget : Base, IWidget
{
    public int X { get; set; }

    public void Run()
    {
        X = X + 1;
    }
}
C#
namespace N;

public class Widget : Base, IWidget
{
    public int X { get; set; }

    public void Run()
    {
        X = X + 1;
    }
}