2 types derived from RenameDocumentAction
Microsoft.CodeAnalysis.Workspaces (2)
Rename\Renamer.RenameSymbolDocumentAction.cs (1)
24
internal sealed class RenameSymbolDocumentAction :
RenameDocumentAction
Rename\Renamer.SyncNamespaceDocumentAction.cs (1)
30
internal sealed class SyncNamespaceDocumentAction :
RenameDocumentAction
15 references to RenameDocumentAction
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Rename\RenamerTests.cs (1)
76
foreach (
var
action in documentRenameResult.ApplicableActions)
Microsoft.CodeAnalysis.Workspaces (14)
Rename\Renamer.cs (4)
84
/// Each change is added as a <see cref="
RenameDocumentAction
"/> in the returned <see cref="RenameDocumentActionSet.ApplicableActions" />.
86
/// Each action may individually encounter errors that prevent it from behaving correctly. Those are reported in <see cref="
RenameDocumentAction
.GetErrors(System.Globalization.CultureInfo?)"/>.
122
return new RenameDocumentActionSet(ImmutableArray<
RenameDocumentAction
>.Empty, document.Id, document.Name, document.Folders.ToImmutableArray(), options);
125
using var _ = ArrayBuilder<
RenameDocumentAction
>.GetInstance(out var actions);
Rename\Renamer.RenameDocumentActionSet.cs (10)
20
/// document metadata will still be updated by calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/>
23
/// of the actions by calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/>.
35
ImmutableArray<
RenameDocumentAction
> actions,
50
/// contents rather than metadata. Document metadata will still not be updated unless <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)" />
53
public ImmutableArray<
RenameDocumentAction
> ApplicableActions { get; }
56
/// Same as calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/> with
63
/// Applies each <see cref="
RenameDocumentAction
"/> in order and returns the final solution.
71
/// immediately call <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/> without
74
public async Task<Solution> UpdateSolutionAsync(Solution solution, ImmutableArray<
RenameDocumentAction
> actions, CancellationToken cancellationToken)
101
foreach (
var
action in actions)