To safely delete an element:
- Select the element to be deleted.
- On the main menu, choose RefactoringSafe Delete
Tip: Alternatively, right-click on the element and choose Refactoring->Safe Delete
on the element's context menu.
- In the Safe Delete dialog box that reports the element to delete and any usages of that element:
- If no usages are found, press Delete.
- If usages are found, click View usages. The Refactoring window opens allowing you to review the refactoring before committing to it. Click the Perform refactoring button to delete the element.