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.
max_line_length = 80
csharp_wrap_after_dot_in_method_calls = true
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder()
.Append("Hello")
.Append(", ")
.Append("World")
.Append("!")
.ToString();
}
}
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().
Append("Hello").
Append(", ").
Append("World").
Append("!").
ToString();
}
}
max_line_length = 80
csharp_wrap_after_dot_in_method_calls = false
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
}
}
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder()
.Append("Hello")
.Append(", ")
.Append("World")
.Append("!")
.ToString();
}
}