dotnet / codeformatter

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
MIT License
1.24k stars 244 forks source link

Resolve false positives related to failure to recognize pre- and post… #197

Closed michaelcfanning closed 9 years ago

michaelcfanning commented 9 years ago

…-increment field operations as mutating relevant members. + tests.

@lgolding @jaredpar @Priya91 @genlu @srivatsn

ghost commented 9 years ago

:+1:

michaelcfanning commented 9 years ago

@NF-Floyd updated rule and added tests ensuring read-only still applied for non-mutating unary operators, +, -, !, ~, and cast.

michaelcfanning commented 9 years ago

@genlu @lgolding please merge this

ghost commented 9 years ago

It has merge conflicts that need to be resolved before it can be merged. Did you want one of us to do that part?