csharp_wrap_after_dot_in_method_calls

When a chain breaks, leave the dot at the end of the preceding line.

Value Notes
true
false

Default: false

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

Ini
max_line_length = 80
csharp_wrap_after_dot_in_method_calls = 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_after_dot_in_method_calls = 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();
    }
}