Closed oddstr13 closed 3 years ago
Is this removing or adding the BOM? And I don't like the indentation change after the lock statement.
This is removing BOM, and I agree on the lock statement, if you know how to make dotnet format
not do that that'd be great
I couldn't figure out why it didn't add braces there, so I ended up adding them myself. The indentation it did is technically correct, as it did the equivalent of this;
if (true)
foo();
to
if (true)
foo();
But it should also have wrapped it in {}
there.
Run
dotnet format