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?

1 comment
Comment actions Permalink

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!"

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. What's the logic behind this?

---
Original message URL:
http://devnet.jetbrains.net/message/5268114#5268114



0

Please sign in to leave a comment.