The Rename refactorings allows users to change names of namespaces, classes, structs, methods, and fields. All corresponding references in the code are updated automaticaly.
The following rename refactorings are available:
The following dialog box opens.


Note You can navigate to the locations of related symbols and correct the code manually. The list of the related symbols will be updated according to your changes.

Note You can navigate to the locations of the usages and correct them manually. The list of the usages will be updated according to your changes.
If no conflicts are found, the names and references are updated immediately.
The Rename Namespace refactoring allows users to rename a specific namespace and automatically correct all references to the namespace in the code.
The following usages are renamed:
Note When you rename a namespace, you can also change its nesting level. For example, you can rename some A.B.C namespace to A.D.
The Rename Type refactoring allows users to rename a specific interface, class, struct, or enum and automatically correct all references to the type in the code.
The following usages are renamed:
If the renamed type is located in the file with the same name, ReSharper suggests to rename the file too.
The Rename Method refactoring allows users to rename a specific method and automatically correct all references to the method in the code.
The following usages are renamed:
The Rename Field refactoring allows users to rename a specific field and automatically correct all references to the field in the code.
All usages of the field (both read and write) are renamed.
The Rename Property refactoring allows users to rename a specific property and automatically correct all references to the property in the code.
The Rename Event refactoring allows users to rename a specific event and automatically correct all references to the event in the code.
The Rename Parameter refactoring allows users to rename a method parameter and automatically correct all references to the parameter in the code.
The following usages are renamed:
If the selected method overrides or implements a method with the same parameter, ReSharper will suggest you to rename the parameter in the method ancestors as well.
The Rename Local Variable refactoring allows users to rename a variable. This refactoring is quite simple and does not require a wizard. When you call the Rename refactoring for a local variable, ReSharper suggests you possible varaible names based on the variable type and context. You can either choose one of the suggested names or type your own directly in the editor. All references to the variable in the code are updated automatically.
