is there a shortcut for introducing a property for a variable ?
I have following line:
Now I want to introduce a property for the anyObject.ToString() result. But there is only refactoring for introducing Field, Parameter or Variable. See picture.
My workaround is to introduce a field and then encapsulate this field. Is there a faster way ?