0

use auto-property in code cleanup not working?

Hello, I've defined a custom code cleanup profile and have selected the option "Use auto-property, if possible", but when I run my cleanup on a given file, no properties are ever converted to auto-properties.  If I use the shortcut Alt+Enter on a given property, I get the option to convert it to an auto-property, and it works fine.

My files are very straight-forward.  They have one field per property, and standard get {} set {} operations.

I am using ReSharper 5.1 with Visual Studio 2010.

Am I missing something?

7 comments

Please sign in to leave a comment.