Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Change Signature (v6.1)

Tags:

resharper

It appears that I am unable to perform the Change Signature option in Resharper (v6.1). This is the first time I've used it so I wasn't sure if I needed to enable something.

Whenever I right click on the method name I only have 2 options. Refactor This... and Rename....

I want to be able to change the signature but the option is not available to me.

Any ideas?

Additional Information

Visual Studio 2010 (v10.0.40219.1 SP1Rel)
C#

Below is the method I am attempting to change the signature on. This is a method in a base class. I have highlighted the method name (ConfirmPick) and right clicked on it to attempt to change the signature.

public ExactaResult ConfirmPick(Guid locationId, decimal quantityPicked, bool isFullContainer = false)
like image 498
Cole W Avatar asked Jan 26 '26 11:01

Cole W


1 Answers

The problem is that you're selecting (highlighting) a method name before trying to invoke a refactoring option. If you try do look at available refactoring options without selecting a method name, you'll see that there are plenty of them. Also, I suggest that you use a ReSharper shortcut that shows all contextually available refactorings - Refactor This (Ctrl+R,R or Ctrl+Shift+R, depending on a selected keymap)

like image 139
Jura Gorohovsky Avatar answered Jan 29 '26 02:01

Jura Gorohovsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!