Change Signature and static methods
I'm not allowed to remove the static modifier in the change signature refactoring. Is this expected behaviour?
--
Matt Berther
http://www.mattberther.com
Please sign in to leave a comment.
I'm not allowed to remove the static modifier in the change signature refactoring. Is this expected behaviour?
--
Matt Berther
http://www.mattberther.com
Please sign in to leave a comment.
Yep. There's another refactoring that can help you with that, though: Convert to instance method.
HTH,
Andrei
Hello Andrei,
But not yet supported in R#?
--
Matt Berther
http://www.mattberther.com
>> I'm not allowed to remove the static modifier in the change signature
>> refactoring. Is this expected behaviour?
>>
Right.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com "Develop with pleasure!"
>>> I'm not allowed to remove the static modifier in the change
>>> signature refactoring. Is this expected behaviour?
>>>
>> Yep. There's another refactoring that can help you with that, though:
>> Convert to instance method.
>>
>> HTH,
>> Andrei
Oops, sorry, I haven't noticed this was a message in resharper's newsgroups, I replied to it from the Today view in OmniaMea.
Ignore the noise, please.
Regards,
Andrei
>> But not yet supported in R#?
>>
>> Hello Andrei,
>>
>> But not yet supported in R#?
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
>>>> I'm not allowed to remove the static modifier in the change
>>>> signature refactoring. Is this expected behaviour?
>>>>
>>> Yep. There's another refactoring that can help you with that,
>>> though: Convert to instance method.
>>>
>>> HTH,
>>> Andrei