2 comments

Hello Richard,

Change Signature refactoring doesn't support adding generic type parameters.
'Signature preview' looks fine because ReSharper just uses the current text
from the 'Name' box to construct the preview. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

See the attached screenshot.

Is this possible, or am I missing something obvious? It seems to me
that the resulting signature (as seen in the signature preview) looks
good, so why the problem?

TIA,
-rb
---
Original message URL:
http://devnet.jetbrains.net/message/5284760#5284760



0

Thanks for the response.

I guess I was confused because the "Change Signature" DOES support generic method parameters. As well, it will change the signature of a Generic Method, as long as you don't want to change the generic type parameter of that Method.

Are there any plans to support this?

It would be an nice workaround to provide a "Delegate Method" refactor that was available in the "Refactor This" menu for Methods - much like the option during the "Change Signature," only stand-alone.

0

Please sign in to leave a comment.