R# doesn't suggest method declaration update when method caller has an extra parameter
Using R# 5.1.1. I have a method with no input parameters. In my method caller I add a new parameter to be passed to the method. R# suggests creating a new method stub. I would like R# to be able to modify the existing method and add the parameter for me.Does R# support this?
Please sign in to leave a comment.
I noticed this too and would need this function too so +1 =)
What I have noticed so far is that if the method already has parameters, it suggests adding the new one but I don't see this suggestion showing up if the method has no parameters. ??
It seems to be working sometimes. Maybe there are conditions when this doesn't work properly.
Hello abdu,
ReSharper should suggest to create an overload or to add a new parameter
to the method being called. Could you please attach a particular example
(solution) where ReSharper doesn't suggest to add a parameter? Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"