Resharper: configure "Create and initialize auto-property" - private setter

When creating the appropriate properties for constructor parameters, I prefer the setters to be closed. Thanks to the built-in functions in Resharper, the contextual "Create and initialize auto-property" NNN "creates a property with both a getter and a network with public visibility.

Can this behavior be changed?

+4
source share

All Articles