1 write to ApplicableActions
Microsoft.CodeAnalysis.Workspaces (1)
Rename\Renamer.RenameDocumentActionSet.cs (1)
41ApplicableActions = 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)
84/// Each change is added as a <see cref="RenameDocumentAction"/> in the returned <see cref="RenameDocumentActionSet.ApplicableActions" />.
Rename\Renamer.RenameDocumentActionSet.cs (8)
19/// that can change the contents of one or more document in the solution. Even if the <see cref="ApplicableActions"/> is empty, the 57/// <see cref="ApplicableActions"/> as the argument 60=> UpdateSolutionAsync(solution, ApplicableActions, cancellationToken); 64/// All actions must be contained in <see cref="ApplicableActions" /> 69/// can still support when <see cref="ApplicableActions"/> is empty. It's desirable 72/// having to inspect the returned <see cref="ApplicableActions"/>. 81if (actions.Any(static (a, self) => !self.ApplicableActions.Contains(a), this)) 83throw new ArgumentException(string.Format(WorkspacesResources.Cannot_apply_action_that_is_not_in_0, nameof(ApplicableActions)));