Microsoft.CodeAnalysis.Rename Namespace

Classes

RenameOptions
Renamer
Renamer.RenameDocumentAction

Individual action from RenameDocument APIs in Renamer. Represents changes that will be done to one or more document contents to help facilitate a smooth experience while moving documents around.

See Renamer.RenameDocumentActionSet on use case and how to apply them to a solution.

Renamer.RenameDocumentActionSet

Information about rename document calls that allows them to be applied as individual actions. Actions are individual units of work that can change the contents of one or more document in the solution. Even if the ApplicableActions is empty, the document metadata will still be updated by calling UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken)

To apply all actions use UpdateSolutionAsync(Solution, CancellationToken), or use a subset of the actions by calling UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken). Actions can be applied in any order. Each action has a description of the changes that it will apply that can be presented to a user.

Structs

DocumentRenameOptions

Options for renaming a document.

SymbolRenameOptions

Options for renaming a symbol.

Enums

RenameEntityKind