1 write to ApplicableActions
Microsoft.CodeAnalysis.Workspaces (1)
Rename\Renamer.RenameDocumentActionSet.cs (1)
40ApplicableActions = actions;
12 references to ApplicableActions
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Rename\RenamerTests.cs (3)
76foreach (var action in documentRenameResult.ApplicableActions) 208Assert.Empty(documentRenameResult.ApplicableActions); 239Assert.Empty(documentRenameResult.ApplicableActions);
Microsoft.CodeAnalysis.Workspaces (9)
Rename\Renamer.cs (1)
82/// Each change is added as a <see cref="RenameDocumentAction"/> in the returned <see cref="RenameDocumentActionSet.ApplicableActions" />.
Rename\Renamer.RenameDocumentActionSet.cs (8)
18/// that can change the contents of one or more document in the solution. Even if the <see cref="ApplicableActions"/> is empty, the 56/// <see cref="ApplicableActions"/> as the argument 59=> UpdateSolutionAsync(solution, ApplicableActions, cancellationToken); 63/// All actions must be contained in <see cref="ApplicableActions" /> 68/// can still support when <see cref="ApplicableActions"/> is empty. It's desirable 71/// having to inspect the returned <see cref="ApplicableActions"/>. 80if (actions.Any(static (a, self) => !self.ApplicableActions.Contains(a), this)) 82throw new ArgumentException(string.Format(WorkspacesResources.Cannot_apply_action_that_is_not_in_0, nameof(ApplicableActions)));