19 references to WrapItemsAction
Microsoft.CodeAnalysis.Features (19)
Wrapping\AbstractCodeActionComputer.cs (3)
119protected async Task<WrapItemsAction?> TryCreateCodeActionAsync( 296var sorted = WrapItemsAction.SortActionsByMostRecentlyUsed(ImmutableArray<CodeAction>.CastUp(wrappingActions)); 308return WrapItemsAction.SortActionsByMostRecentlyUsed(result.ToImmutableAndClear());
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
78private async Task<WrapItemsAction> GetWrapCodeActionAsync(bool align, CancellationToken cancellationToken) 83private Task<WrapItemsAction> GetUnwrapCodeActionAsync(CancellationToken cancellationToken)
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (4)
95using var _ = ArrayBuilder<WrapItemsAction>.GetInstance(out var actions); 106private async Task AddWrapCodeActionAsync(ArrayBuilder<WrapItemsAction> actions, CancellationToken cancellationToken) 116private async Task AddUnwrapCodeActionAsync(ArrayBuilder<WrapItemsAction> actions, CancellationToken cancellationToken) 119private async Task AddWrapLongCodeActionAsync(ArrayBuilder<WrapItemsAction> actions, CancellationToken cancellationToken)
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (7)
157using var _ = ArrayBuilder<WrapItemsAction>.GetInstance(out var unwrapActions); 181var unwrapWithoutBraces = await GetWrapLongLineCodeActionAsync( 192private async Task<WrapItemsAction?> GetUnwrapAllCodeActionAsync( 233using var _ = ArrayBuilder<WrapItemsAction>.GetInstance(out var codeActions); 277private async Task<WrapItemsAction?> GetWrapLongLineCodeActionAsync( 369using var _ = ArrayBuilder<WrapItemsAction>.GetInstance(out var codeActions); 404private async Task<WrapItemsAction?> GetWrapEveryNestedCodeActionAsync(
Wrapping\WrapItemsAction.cs (1)
84=> (codeAction as WrapItemsAction)?.SortTitle ?? codeAction.Title;
Wrapping\WrappingGroup.cs (2)
19internal readonly struct WrappingGroup(bool isInlinable, ImmutableArray<WrapItemsAction> wrappingActions) 29public readonly ImmutableArray<WrapItemsAction> WrappingActions = wrappingActions;