To move a type to outer scope
- Position the caret at an inner type.
On the ReSharper menu or context menu, choose
Refactor | Move, or press F6. The Movedrop-down list appears, choose Move to Outer Scopecommand. The Move to Outer Scopedialog box opens:
Outer type nametext box, specify a new name for the type. You can use the existing type name as well.
To update references to the class in comments, select
Search in comments.
If you selected
Search in comments, ReSharper suggests that you rename located usages. Select check boxes next to items that you want to be updated.
Next. If no conflicts are found, the refactoring is performed immediately. Otherwise, resolve conflicts.