Expressions of the form switch {
cause dotnet-format to fail
#948
Labels
Resolved-External
This issue is fixed by changes outside dotnet/format
Milestone
Whenever there's a switch expression with a { in the same line (
var switch {
), dotnet-format reports whitespace formatting errors. This makes it hard to understand what's wrong. For an example, see here: https://dev.azure.com/dnceng/public/_build/results?buildId=971006&view=logs&j=ed7ee28b-73cd-526d-4740-b3f2e2c1c6bb&t=e71a6653-5b93-50ae-6545-9f859da4990d&l=365.The text was updated successfully, but these errors were encountered: