The
Analyze references window is used to display results of
optimizing references.
It displays unused assembly references,
used assembly references with corresponding usages and pinned references.
The results of each
Optimize references command are displayed in a separate tab.
Toolbar controls
| Control | Name | Description |
|---|---|---|
| Refresh | Updates window content to reflect any changes made in the code. | |
| Expand All/Collapse All | Expands/collapses all nodes in the current tab. | |
| Previous/Next | Navigate to the previous/next item and scrolls through the source code accordingly. | |
| Show Preview | Hides or shows the preview pane in the position specified using the drop-down list (in the bottom or in the right part of the window). | |
| Export | Click this button to export the data currently displayed in the window in text format, or use the drop-down selector to export the data in XML or HTML format. The Export Data dialog box that appears, will help you to save the data to a file or copy it to the clipboard. | |
| Merge Occurrences on the Same Line | If this button is selected, occurrences that belong to the same line are merged. | |
| Remove All Unused References | Removes all assembly references that are not used. | |
| Remove Selected References | Removes all selected assembly references. | |
| Filter Usages |
With this drop-down list, you can select a specific type of usages to display.
Several options are provided:
| |
| Group by | Allows grouping items in the window. Possible options help display items as a tree grouped by the selected categories. | |
| Close | Closes the current tab. |
