Cleanup Code converting all C# expressions to method bodies

Cleanup Code seems to be converting all C# expression-bodied methods and ctors to normal braces-style method bodies.  Expression-bodied getter properties don't appear to be affected.  I can't find any options relating to any of this, but surely there must be, right?  How can I stop this from happening?

Running R# 2018.1 and the latest patch of VS 2017.

0
2 comments

I just logged in to ask about this as well 

0

Hello everyone!

This option can be changed in ReSharper | Options | Code Editing | C# | Syntax Style | Code body | Methods and operators. If you'd like to apply such code style to void methods, you also need to uncheck the Apply style heuristics checkbox. Please let me know if you have any questions. Thank you!

0

Please sign in to leave a comment.