Converting Protected Fields to Protected Properties
I'm trying to convert protected fields to properties using Refactor > Encapsulate Field. However, I don't have the visibility option of just protected and not "protected internal". I want to create protected only properties, but Resharper won't let me. I know I'm probably missing something obvious, but what's the reasoning behind this? Or am I just doing something wrong?
Please sign in to leave a comment.
Hello Steve,
I've created a bug-report: http://youtrack.jetbrains.net/issue/RSRP-186825.
Meanwhile, you can use ReSharper | Edit | Generate Code | Properties which
provides full range of visibility options. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"