History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-40902
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Encapsulate Field: Cannot Encapsulate Public Fields

Created: 19 May 07 21:52   Updated: Monday 16:54
Component/s: Refactorings - Encapsulate Field
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
This issue duplicates:
RSRP-38725 To rename field in encapsulate refact... Normal Open
 


 Description  « Hide
I'm trying to convert an "all-fields-public-class" to "all-fields-private-have-accessors".

But the refactoring won't let me do it with the "Next" button disabled and the reasoning that the property name does not differ from the field name. I cannot change the property name (it should be as the field used to be , I cannot rename the field (tons of reference updates that will be ditched when encapsulating), so I have to do it by hand.

Should support the scenario by creating the samely-named properties and renaming the backing fields.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.