To convert a method to an indexer (default property)
  1. In the editor, place the caret at a method that you'd like to convert.
  2. On the ReSharper menu or context menu, choose Refactor | Convert | Method to Indexer.
    • If conflicts are found that might prevent ReSharper from successfully performing the refactoring, a dialog box shows up with links to code lines that originated the conflict:
      Convert Method to Indexer refactoring
      Image 1:
      Use the links to find conflicting code and modify it in the text editor without closing the dialog box. After you've made necessary amendments, click Refresh. Once there are no conflict entries left in the dialog box, click Next to complete the refactoring.
    • If no conflicts are found, the selected method is converted in dialogless mode.