"Convert To Auto Property" Action doesn't take into account static variable
If I have a property which uses a static variable as its data member (such as in the Monostate pattern), like this:
private static string dataItem;
public string DataItem
{
get { return dataItem; }
set { dataItem = value; }
}
Resharper will tell me to convert it to an Auto property, which converts it to this:
public string DataItem { get; set; }
Not exactly the same thing. :)
My biggest complain is that it will automatically do this if I run a code cleanup using Ctrl E + C.
I am running build 767.
Edited by: Justin Etheredge on Apr 7, 2008 1:10 AM
Please sign in to leave a comment.
Hello,
We appreciate your feedback. The corresponding JIRA request has been created,
and you are welcome to monitor its status at http://www.jetbrains.net/jira/browse/RSRP-63901.
You may want to check our request tracking policy here: http://www.jetbrains.net/confluence/display/ReSharper/ReSharperIssueTracker
Best regards,
- Development Team.