1 instantiation of UnifiedSuggestedActionSet
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
712=> new(set.OriginalSolution, set.CategoryName, set.Actions, set.Title, priority, set.ApplicableToSpan);
59 references to UnifiedSuggestedActionSet
Microsoft.CodeAnalysis.LanguageServer.Protocol (59)
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedCodeFixSuggestedAction.cs (2)
21public UnifiedSuggestedActionSet? FixAllFlavors { get; } 29UnifiedSuggestedActionSet? fixAllFlavors)
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedCodeRefactoringSuggestedAction.cs (2)
19public UnifiedSuggestedActionSet? FixAllFlavors { get; } 26UnifiedSuggestedActionSet? fixAllFlavors)
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedSuggestedActionWithNestedActions.cs (2)
18public ImmutableArray<UnifiedSuggestedActionSet> NestedActionSets { get; } 25ImmutableArray<UnifiedSuggestedActionSet> nestedActionSets)
Features\UnifiedSuggestions\UnifiedSuggestedActionSetComparer.cs (3)
13internal class UnifiedSuggestedActionSetComparer : IComparer<UnifiedSuggestedActionSet> 52public int Compare(UnifiedSuggestedActionSet x, UnifiedSuggestedActionSet y)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (43)
35public static async ValueTask<ImmutableArray<UnifiedSuggestedActionSet>> GetFilterAndOrderCodeFixesAsync( 64private static async Task<ImmutableArray<UnifiedSuggestedActionSet>> OrganizeFixesAsync( 120Task<UnifiedSuggestedActionSet?> GetFixAllSuggestedActionSetAsync(CodeAction codeAction) 133Func<CodeAction, Task<UnifiedSuggestedActionSet?>> getFixAllSuggestedActionSetAsync, 156var set = new UnifiedSuggestedActionSet( 208private static async Task<UnifiedSuggestedActionSet?> GetUnifiedFixAllSuggestedActionSetAsync( 272/// Priority for all <see cref="UnifiedSuggestedActionSet"/>s containing fixes is set to <see 274/// cref="UnifiedSuggestedActionSet"/> only contains suppression fixes - the priority of such <see 275/// cref="UnifiedSuggestedActionSet"/>s is set to <see cref="CodeActionPriority.Lowest"/> so that suppression 278private static ImmutableArray<UnifiedSuggestedActionSet> PrioritizeFixGroups( 285using var _1 = ArrayBuilder<UnifiedSuggestedActionSet>.GetInstance(out var nonSuppressionSets); 286using var _2 = ArrayBuilder<UnifiedSuggestedActionSet>.GetInstance(out var suppressionSets); 308var bulkConfigurationSet = new UnifiedSuggestedActionSet( 331var wrappingSet = new UnifiedSuggestedActionSet( 344static (TextSpan? span, string category) CombineSpansAndCategory(ArrayBuilder<UnifiedSuggestedActionSet> sets) 391ArrayBuilder<UnifiedSuggestedActionSet> sets) 433public static async Task<ImmutableArray<UnifiedSuggestedActionSet>> GetFilterAndOrderCodeRefactoringsAsync( 451var orderedRefactorings = new FixedSizeArrayBuilder<UnifiedSuggestedActionSet>(filteredRefactorings.Length); 500/// Priority for all <see cref="UnifiedSuggestedActionSet"/>s containing refactorings is set to 504private static async Task<UnifiedSuggestedActionSet> OrganizeRefactoringsAsync( 550var set = new UnifiedSuggestedActionSet( 577private static async Task<UnifiedSuggestedActionSet?> GetUnifiedFixAllSuggestedActionSetAsync( 639public static ImmutableArray<UnifiedSuggestedActionSet> FilterAndOrderActionSets( 640ImmutableArray<UnifiedSuggestedActionSet> fixes, 641ImmutableArray<UnifiedSuggestedActionSet> refactorings, 660private static ImmutableArray<UnifiedSuggestedActionSet> GetInitiallyOrderedActionSets( 662ImmutableArray<UnifiedSuggestedActionSet> fixes, 663ImmutableArray<UnifiedSuggestedActionSet> refactorings) 704private static ImmutableArray<UnifiedSuggestedActionSet> OrderActionSets( 705ImmutableArray<UnifiedSuggestedActionSet> actionSets, TextSpan? selectionOpt) 710private static UnifiedSuggestedActionSet WithPriority( 711UnifiedSuggestedActionSet set, CodeActionPriority priority) 714private static ImmutableArray<UnifiedSuggestedActionSet> InlineActionSetsIfDesirable( 715ImmutableArray<UnifiedSuggestedActionSet> actionSets, 726private static UnifiedSuggestedActionSet InlineActions(UnifiedSuggestedActionSet actionSet) 753private static ImmutableArray<UnifiedSuggestedActionSet> FilterActionSetsByTitle( 754ImmutableArray<UnifiedSuggestedActionSet> allActionSets) 756using var resultDisposer = ArrayBuilder<UnifiedSuggestedActionSet>.GetInstance(out var result); 759foreach (var set in allActionSets) 761var filteredSet = FilterActionSetByTitle(set, seenTitles); 771private static UnifiedSuggestedActionSet? FilterActionSetByTitle(UnifiedSuggestedActionSet set, HashSet<string> seenTitles)
Handler\CodeActions\CodeActionHelpers.cs (7)
53foreach (var set in actionSets) 75foreach (var set in actionSets) 147foreach (var actionSet in unifiedSuggestedActions.NestedActionSets) 257foreach (var nestedActionSet in suggestedActionWithNestedActions.NestedActionSets) 318foreach (var set in actionSets) 352foreach (var actionSet in suggestedActionWithNestedActions.NestedActionSets) 382private static async ValueTask<ImmutableArray<UnifiedSuggestedActionSet>> GetActionSetsAsync(