Open Youssef1313 opened 1 year ago
Note that if any change is made, the expected behavior would be the following (only indentation changed):
using System.Text;
var builder = new StringBuilder();
builder.AppendLine(
builder.AppendLine(
builder.AppendLine().ToString()).ToString())
.ToString();
Overall, I would not expect any change to be made here. There are multiple potentially-valid indentation locations for the second line, and the formatter doesn't have a way to allow several options but only enforce one.
Overall, I would not expect any change to be made here
Me neither. It would also be highly problematic as suddenly lots of code would start getting formatting warnings.
The formatter is happy with the above code.
It shouldn't be happy and should format it to: