How can I specify in an .editorconfig that there shouldn't be a newline before the setter block of a C# record's with-expression? In other words, this:
var foo = new Foo("abcd");
foo = foo with {
Bar = "efgh"
};
public record Foo(string Bar);
instead of this:
var foo = new Foo("abcd");
foo = foo with
{
Bar = "efgh"
};
public record Foo(string Bar);
Ideally, I would want that Visual Studio should also respect this value in the .editorconfig.
This is an open bug in Roslyn and is scheduled to be fixed in Visual Studio 16.9.