csharp_wrap_before_first_method_call

When a chain breaks, break before the first call too, leaving the receiver on its own line.

Value Notes
true What Curb does with the key unset: once a chain breaks, its receiver gets a line of its own.
false

Default: (not set)

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

Ini
max_line_length = 80
csharp_wrap_before_first_method_call = true
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder()
            .Append("Hello")
            .Append(", ")
            .Append("World")
            .Append("!")
            .ToString();
    }
}
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder()
            .Append("Hello")
            .Append(", ")
            .Append("World")
            .Append("!")
            .ToString();
    }
}
Ini
max_line_length = 80
csharp_wrap_before_first_method_call = false
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder()
            .Append("Hello")
            .Append(", ")
            .Append("World")
            .Append("!")
            .ToString();
    }
}
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder().Append("Hello")
            .Append(", ")
            .Append("World")
            .Append("!")
            .ToString();
    }
}