10 references to TryCreateCodeActionAsync
Microsoft.CodeAnalysis.Features (10)
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
77
=>
TryCreateCodeActionAsync
(GetWrapEdits(align), FeaturesResources.Wrapping,
81
=>
TryCreateCodeActionAsync
(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_expression);
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (5)
111
actions.Add(await
TryCreateCodeActionAsync
(GetWrapEdits(wrappingColumn: 0, align: false), FeaturesResources.Wrapping, FeaturesResources.Wrap_call_chain).ConfigureAwait(false));
112
actions.Add(await
TryCreateCodeActionAsync
(GetWrapEdits(wrappingColumn: 0, align: true), FeaturesResources.Wrapping, FeaturesResources.Wrap_and_align_call_chain).ConfigureAwait(false));
116
=> actions.Add(await
TryCreateCodeActionAsync
(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_call_chain).ConfigureAwait(false));
120
actions.Add(await
TryCreateCodeActionAsync
(GetWrapEdits(Options.WrappingColumn, align: false), FeaturesResources.Wrapping, FeaturesResources.Wrap_long_call_chain).ConfigureAwait(false));
121
actions.Add(await
TryCreateCodeActionAsync
(GetWrapEdits(Options.WrappingColumn, align: true), FeaturesResources.Wrapping, FeaturesResources.Wrap_and_align_long_call_chain).ConfigureAwait(false));
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (3)
182
return await
TryCreateCodeActionAsync
(edits, parentTitle, title).ConfigureAwait(false);
264
return await
TryCreateCodeActionAsync
(edits, parentTitle, title).ConfigureAwait(false);
381
return await
TryCreateCodeActionAsync
(edits, parentTitle, title).ConfigureAwait(false);