Open tigerclawn82 opened 8 years ago
Which semantics were changed that are concerning? Is it the renaming of private fields?
yes, renaming of private fields.
Assert.Equal(2, B.F2);
it will fail after formatting in-fact i came to know about it due to the test case fail.
We definitely understand this particular part of the code formatting can break reflection and binary serialization. In general that doesn't have an impact on code bases. Roslyn for instance converted ~150 projects to this rule with almost no issue. It was implemented because that is the desired standard for the dotnet organization.
That being said it's possible to disable this rule (just as with any other rule). Hence you can run everything else but this rule without issue.
Hi, i detected unusual behavior while testing code formatter.
Original Code
Formatted Code
Basically code semantic been changed, reflection based usage will break things up. Is there anything that can be configured to skip this kinda behavior?
Thanks