14 references to IntroduceParameterCodeActionKind
Microsoft.CodeAnalysis.Features (14)
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (8)
156
actionsBuilder.Add(CreateNewCodeAction(FeaturesResources.and_update_call_sites_directly, allOccurrences: false,
IntroduceParameterCodeActionKind
.Refactor));
157
actionsBuilderAllOccurrences.Add(CreateNewCodeAction(FeaturesResources.and_update_call_sites_directly, allOccurrences: true,
IntroduceParameterCodeActionKind
.Refactor));
166
FeaturesResources.into_extracted_method_to_invoke_at_call_sites, allOccurrences: false,
IntroduceParameterCodeActionKind
.Trampoline));
168
FeaturesResources.into_extracted_method_to_invoke_at_call_sites, allOccurrences: true,
IntroduceParameterCodeActionKind
.Trampoline));
174
FeaturesResources.into_new_overload, allOccurrences: false,
IntroduceParameterCodeActionKind
.Overload));
176
FeaturesResources.into_new_overload, allOccurrences: true,
IntroduceParameterCodeActionKind
.Overload));
183
CodeAction CreateNewCodeAction(string actionName, bool allOccurrences,
IntroduceParameterCodeActionKind
selectedCodeAction)
238
IMethodSymbol methodSymbol, SyntaxNode containingMethod, Dictionary<Document, List<TExpressionSyntax>> methodCallSites, bool allOccurrences,
IntroduceParameterCodeActionKind
selectedCodeAction,
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (6)
29
IntroduceParameterCodeActionKind
selectedCodeAction,
40
private readonly
IntroduceParameterCodeActionKind
_actionKind = selectedCodeAction;
47
if (_actionKind is
IntroduceParameterCodeActionKind
.Overload or
IntroduceParameterCodeActionKind
.Trampoline)
231
if (_actionKind is
IntroduceParameterCodeActionKind
.Trampoline)
260
var newMethodNode = _actionKind is
IntroduceParameterCodeActionKind
.Trampoline