ReSharper Web Help

The Inline Class refactoring allows you to replace a property or a field of a certain type with contents of this type.

To inline a class
  1. Place the caret at the name of a property or a field.
  2. Do one of the following:
    • On the main menu, choose ReSharper | Refactor | Inline Class.
    • Right-click the type, then click Refactor | Inline Class on the context menu.
    • Press Ctrl+Shift+R, then click Inline Class.

After applying the refactoring the property or the field is replaced with members of its type. All usages of the property or the field are updated accordingly.

See Also

Procedures