Change Signature

The Change Signature refactoring combines several different modifications that can be made to signatures of methods, constructors, properties, and indexers.

The refactoring perform the following modifications:

Along with changing the signature itself, ReSharper searches for all usages of the method, property, constructor, or indexer and alters all calls, implementations and overridings that can be safely modified to reflect the change.

Warning    Changing a return type or a parameter type may cause errors which you will need to correct manually in the code.

The refactoring is also applicable to type constructors and indexers (only you cannot change their names or return types).

To change a signature