The requested page is not available for the requested platform. You are viewing the content for Default platform.

Rename File to Match Type

Renames the file (and updates the project), so the file name matches the type name.

Availability

Available from the context menu or via shortcuts:

  • when the edit cursor or caret is on a type declaration. The file name should differ from that type's name.
Note

The refactoring is not available within shared projects.

Animation

rsRenameFileToMatchTypeCSharp

See Also