csharpier
csharpier copied to clipboard
More Lambda Edgecases
The fixes in #1611 introduced a formatting issue.
Getting things to work properly will involve a conditional group.
The edge case to fix
class ClassName
{
private SomeObject someObject = new SomeObject_____________________________________(
() => new SomeObject()
);
}
Formatting this on prettier with 80 width shows the conditional group
```c#
CallMethod(() => CallAnotherMethod_________________________________________1());
CallMethod(() => CallAnotherMethod_________________________________________12());