ReSharper Web Help

Partial methods are defined in different parts (different files) of a partial type. One part contains the signature of the method while another part contains its implementation.

ReSharper provides the Generate partial methods feature that will create implementation stubs for not implemented partial methods.

To generate implementations of partial methods in a partial type
  1. In the editor, position the caret within a partial type at the line where you want to insert implementations of partial methods.
  2. On the main menu, choose ReSharper | Edit | Generate Code, or press Alt+Insert.
  3. In the Generate pop-up menu, select Partial methods.
  4. In the Generate dialog box that appears, select partial methods to create implementation stubs for.
  5. Click Finish to complete the wizard.

 Tip

Depending on your settings, in the bodies of generated implementations ReSharper throws new NotImplementedException(), returns default value, or puts code that will not compile. For more information, see Code Editing | Members Generation page of ReSharper options.

See Also

Procedures

Reference

External Links