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 |
|
false |
Default: (not set)
csharp_wrap_before_first_method_call = 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();
}
}
csharp_wrap_before_first_method_call = 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();
}
}