2 types derived from RenameDocumentAction
Microsoft.CodeAnalysis.Workspaces (2)
Rename\Renamer.RenameSymbolDocumentAction.cs (1)
22
internal sealed class RenameSymbolDocumentAction :
RenameDocumentAction
Rename\Renamer.SyncNamespaceDocumentAction.cs (1)
27
internal sealed class SyncNamespaceDocumentAction :
RenameDocumentAction
14 references to RenameDocumentAction
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Rename\RenamerTests.cs (1)
76
foreach (
var
action in documentRenameResult.ApplicableActions)
Microsoft.CodeAnalysis.Workspaces (13)
Rename\Renamer.cs (3)
82
/// Each change is added as a <see cref="
RenameDocumentAction
"/> in the returned <see cref="RenameDocumentActionSet.ApplicableActions" />.
84
/// Each action may individually encounter errors that prevent it from behaving correctly. Those are reported in <see cref="
RenameDocumentAction
.GetErrors(System.Globalization.CultureInfo?)"/>.
115
using var _ = ArrayBuilder<
RenameDocumentAction
>.GetInstance(out var actions);
Rename\Renamer.RenameDocumentActionSet.cs (10)
19
/// document metadata will still be updated by calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/>
22
/// of the actions by calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/>.
34
ImmutableArray<
RenameDocumentAction
> actions,
49
/// contents rather than metadata. Document metadata will still not be updated unless <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)" />
52
public ImmutableArray<
RenameDocumentAction
> ApplicableActions { get; }
55
/// Same as calling <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/> with
62
/// Applies each <see cref="
RenameDocumentAction
"/> in order and returns the final solution.
70
/// immediately call <see cref="UpdateSolutionAsync(Solution, ImmutableArray{
RenameDocumentAction
}, CancellationToken)"/> without
73
public async Task<Solution> UpdateSolutionAsync(Solution solution, ImmutableArray<
RenameDocumentAction
> actions, CancellationToken cancellationToken)
100
foreach (
var
action in actions)