Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To locate all the references to a method using Roslyn Refactor, follow these steps:

  1. Open your solution in Visual Studio.
  2. Right-click on the method you want to locate references to, and select "Find All References" from the context menu. This will open the "Find Results" window in Visual Studio.
  3. In the "Find Results" window, select "Find Results 1" from the dropdown menu.
  4. Click on the "Export" button, and select "CSV" as the export format.
  5. Save the CSV file to your preferred location.
  6. Open Roslyn Refactor in Visual Studio.
  7. Select "Find All References" from the Roslyn Refactor menu.
  8. In the "Find All References" dialog, select the CSV file you saved earlier.
  9. Click on the "Find All" button.
  10. Roslyn Refactor will open a new window with all the references to the method you selected.