10 references to TryCreateCodeActionAsync
Microsoft.CodeAnalysis.Features (10)
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
79
=> await
TryCreateCodeActionAsync
(await GetWrapEditsAsync(align, cancellationToken).ConfigureAwait(false), FeaturesResources.Wrapping,
84
=>
TryCreateCodeActionAsync
(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_expression, cancellationToken);
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (5)
108
actions.Add(await
TryCreateCodeActionAsync
(
111
actions.Add(await
TryCreateCodeActionAsync
(
117
=> actions.Add(await
TryCreateCodeActionAsync
(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_call_chain, cancellationToken).ConfigureAwait(false));
121
actions.Add(await
TryCreateCodeActionAsync
(
124
actions.Add(await
TryCreateCodeActionAsync
(
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (3)
200
return await
TryCreateCodeActionAsync
(edits, parentTitle, title, cancellationToken).ConfigureAwait(false);
286
return await
TryCreateCodeActionAsync
(edits, parentTitle, title, cancellationToken).ConfigureAwait(false);
412
return await
TryCreateCodeActionAsync
(edits, parentTitle, title, cancellationToken).ConfigureAwait(false);