5 instantiations of CodeRefactoringContext
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
89var context = new CodeRefactoringContext(document, new TextSpan(node.SpanStart, 0), codeActions.Add, cancellationToken);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
CodeActions\ApplyChangesOperationTests.cs (1)
247var context = new CodeRefactoringContext(document, new TextSpan(), refactorings.Add, CancellationToken.None);
CodeActions\PreviewExceptionTests.cs (1)
111var context = new CodeRefactoringContext(document, span, (a) => codeActions.Add(a), CancellationToken.None);
CodeActions\PreviewTests.cs (1)
97var context = new CodeRefactoringContext(document, span, refactorings.Add, CancellationToken.None);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
RenameTracking\RenameTrackingTestState.cs (1)
173var context = new CodeRefactoringContext(
140 references to CodeRefactoringContext
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
89var context = new CodeRefactoringContext(document, new TextSpan(node.SpanStart, 0), codeActions.Add, cancellationToken);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
CodeActions\ApplyChangesOperationTests.cs (2)
34public sealed override Task ComputeRefactoringsAsync(CodeRefactoringContext context) 247var context = new CodeRefactoringContext(document, new TextSpan(), refactorings.Add, CancellationToken.None);
CodeActions\Preview\ErrorCases\ExceptionInCodeAction.cs (1)
18public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeActions\PreviewExceptionTests.cs (1)
111var context = new CodeRefactoringContext(document, span, (a) => codeActions.Add(a), CancellationToken.None);
CodeActions\PreviewTests.cs (2)
45public sealed override Task ComputeRefactoringsAsync(CodeRefactoringContext context) 97var context = new CodeRefactoringContext(document, span, refactorings.Add, CancellationToken.None);
Microsoft.CodeAnalysis.CSharp.Features (28)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
33public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\ExtractClass\CSharpExtractClassCodeRefactoringProvider.cs (2)
39protected override async Task<SyntaxNode?> GetSelectedClassDeclarationAsync(CodeRefactoringContext context) 45protected override Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
41public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\MoveStaticMembers\CSharpMoveStaticMembersRefactoringProvider.cs (1)
24protected override Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context)
CodeRefactorings\NodeSelectionHelpers.cs (1)
18internal static async Task<ImmutableArray<SyntaxNode>> GetSelectedDeclarationsOrVariablesAsync(CodeRefactoringContext context)
CodeRefactorings\PullMemberUp\CSharpPullMemberUpCodeRefactoringProvider.cs (1)
28protected override Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context)
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (2)
27public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 71private static async Task<SyntaxNode> GetDeclarationAsync(CodeRefactoringContext context)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
46public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertBetweenRegularAndVerbatimString\AbstractConvertBetweenRegularAndVerbatimStringCodeRefactoringProvider.cs (1)
35public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
54protected override Task<QueryExpressionSyntax> FindNodeToRefactorAsync(CodeRefactoringContext context)
ConvertNamespace\ConvertNamespaceCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
41public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertProgram\ConvertToProgramMainCodeRefactoringProvider.cs (1)
31public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertProgram\ConvertToTopLevelStatementsCodeRefactoringProvider.cs (1)
31public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertToRawString\ConvertStringToRawStringCodeRefactoringProvider.cs (1)
67public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertToRecord\CSharpConvertToRecordRefactoringProvider.cs (1)
19public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ImplementInterface\AbstractChangeImplementationCodeRefactoringProvider.cs (2)
47public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 128private static async Task<(SyntaxNode?, ExplicitInterfaceSpecifierSyntax?, SyntaxToken)> GetContainerAsync(CodeRefactoringContext context)
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
43public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeRefactoringProvider.cs (1)
25public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (2)
58public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 114CodeRefactoringContext context, SyntaxNode root, SyntaxNode declaration,
UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeRefactoringProvider.cs (2)
29public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 76CodeRefactoringContext context, ExpressionBodyPreference option, bool analyzerActive)
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingCodeRefactoringProvider.cs (1)
35public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
CodeRefactorings\CodeRefactoringServiceTest.cs (3)
65public override Task ComputeRefactoringsAsync(CodeRefactoringContext context) 118public override Task ComputeRefactoringsAsync(CodeRefactoringContext context) 239public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactorings.cs (1)
26public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\ErrorCases\CodeRefactoringExceptionInComputeRefactoringsAsync.cs (1)
26public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
100public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
RenameTracking\RenameTrackingTestState.cs (1)
173var context = new CodeRefactoringContext(
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
CodeActions\OmniSharpCodeFixContextFactory.cs (1)
28public static CodeAnalysis.CodeRefactorings.CodeRefactoringContext CreateCodeRefactoringContext(
Microsoft.CodeAnalysis.Features (80)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (1)
37public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (3)
31public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 66private static async Task<(TTypeDeclarationSyntax type, CodeActionPriority priority)?> GetRelevantTypeFromHeaderAsync(CodeRefactoringContext context) 75private static async Task<(TTypeDeclarationSyntax type, CodeActionPriority priority)?> GetRelevantTypeFromMethodAsync(CodeRefactoringContext context)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ChangeSignature\AbstractChangeSignatureCodeRefactoringProvider.cs (1)
25public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
33public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsRefactoringProvider.cs (1)
23public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\CodeRefactoringContextExtensions.cs (5)
21this CodeRefactoringContext context, ImmutableArray<TCodeAction> actions, TextSpan? applicableToSpan = null) 40public static Task<TSyntaxNode?> TryGetRelevantNodeAsync<TSyntaxNode>(this CodeRefactoringContext context) where TSyntaxNode : SyntaxNode 43public static async Task<TSyntaxNode?> TryGetRelevantNodeAsync<TSyntaxNode>(this CodeRefactoringContext context, bool allowEmptyNode) where TSyntaxNode : SyntaxNode 49public static Task<ImmutableArray<TSyntaxNode>> GetRelevantNodesAsync<TSyntaxNode>(this CodeRefactoringContext context) where TSyntaxNode : SyntaxNode 52public static async Task<ImmutableArray<TSyntaxNode>> GetRelevantNodesAsync<TSyntaxNode>(this CodeRefactoringContext context, bool allowEmptyNodes) where TSyntaxNode : SyntaxNode
CodeRefactorings\CodeRefactoringService.cs (1)
221var context = new CodeRefactoringContext(textDocument, state,
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
32public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\MoveType\MoveTypeCodeRefactoringProvider.cs (1)
22public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.cs (1)
20public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (1)
43public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertAnonymousType\AbstractConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (1)
30public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (2)
33public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 64private static async Task<SyntaxNode?> GetPropertyAsync(CodeRefactoringContext context)
ConvertCast\AbstractConvertCastCodeRefactoringProvider.cs (1)
35public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
59public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
53public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (1)
34public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertLinq\AbstractConvertLinqQueryToForEachProvider.cs (2)
29protected abstract Task<TQueryExpression> FindNodeToRefactorAsync(CodeRefactoringContext context); 31public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertLinq\ConvertForEachToLinqQuery\AbstractConvertForEachToLinqQueryProvider.cs (1)
65public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
33public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (1)
31public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
40public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
30public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
61public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
EncapsulateField\EncapsulateFieldRefactoringProvider.cs (1)
18public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ExtractClass\AbstractExtractClassRefactoringProvider.cs (5)
21protected abstract Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context); 22protected abstract Task<SyntaxNode?> GetSelectedClassDeclarationAsync(CodeRefactoringContext context); 24public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 57private async Task<(ExtractClassWithDialogCodeAction? action, bool hasBaseType)> TryGetMemberActionAsync(CodeRefactoringContext context, IExtractClassOptionsService optionsService) 115private async Task<ExtractClassWithDialogCodeAction?> TryGetClassActionAsync(CodeRefactoringContext context, IExtractClassOptionsService optionsService)
ExtractInterface\ExtractInterfaceCodeRefactoringProvider.cs (1)
26public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
43public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
63public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (2)
51public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 68private async Task HandleNonSelectionAsync(CodeRefactoringContext context)
GenerateOverrides\GenerateOverridesCodeRefactoringProvider.cs (1)
31public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
60public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
82public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
49public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
45public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (2)
33public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 71protected async Task<TExpressionStatementSyntax?> GetExpressionStatementAsync(CodeRefactoringContext context)
IntroduceVariable\IntroduceVariableCodeRefactoringProvider.cs (1)
23public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
InvertConditional\AbstractInvertConditionalCodeRefactoringProvider.cs (1)
21public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
83public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
35public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceCodeRefactoringProvider.cs (1)
22public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
MoveStaticMembers\AbstractMoveStaticMembersRefactoringProvider.cs (2)
18protected abstract Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context); 20public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
MoveToNamespace\MoveToNamespaceCodeActionProvider.cs (1)
26public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (1)
22public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
PullMemberUp\AbstractPullMemberUpRefactoringProvider.cs (2)
22protected abstract Task<ImmutableArray<SyntaxNode>> GetSelectedNodesAsync(CodeRefactoringContext context); 24public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (2)
52public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 107CodeRefactoringContext context,
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (3)
24public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context) 110CodeRefactoringContext context, SemanticModel semanticModel, SyntaxToken token, TextSpan replacementSpan, CancellationToken cancellationToken) 141CodeRefactoringContext context, TextSpan expandedSpan, string replacement)
ReplaceMethodWithProperty\AbstractReplaceMethodWithPropertyService.cs (1)
16public async Task<SyntaxNode?> GetMethodDeclarationAsync(CodeRefactoringContext context)
ReplaceMethodWithProperty\IReplaceMethodWithPropertyService.cs (1)
18Task<SyntaxNode> GetMethodDeclarationAsync(CodeRefactoringContext context);
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
33public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
36public async Task<SyntaxNode?> GetPropertyDeclarationAsync(CodeRefactoringContext context)
ReplacePropertyWithMethods\IReplacePropertyWithMethodsService.cs (1)
19Task<SyntaxNode> GetPropertyDeclarationAsync(CodeRefactoringContext context);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
42public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (1)
36public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
SplitOrMergeIfStatements\AbstractSplitIfStatementCodeRefactoringProvider.cs (1)
33public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (3)
19Task ComputeRefactoringsAsync(CodeRefactoringContext context, SyntaxNode root); 28CodeRefactoringContext context, SyntaxNode root) 198public sealed override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
Wrapping\AbstractWrappingCodeRefactoringProvider.cs (1)
36public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
NonSourceFileRefactoring.cs (1)
21public override Task ComputeRefactoringsAsync(CodeRefactoringContext context)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
29Public Overloads Overrides Async Function ComputeRefactoringsAsync(context As CodeRefactoringContext) As Task
CodeRefactorings\MoveStaticMembers\VisualBasicMoveStaticMembersRefactoringProvider.vb (1)
22Protected Overrides Async Function GetSelectedNodesAsync(context As CodeRefactoringContext) As Task(Of ImmutableArray(Of SyntaxNode))
CodeRefactorings\NodeSelectionHelpers.vb (1)
14Friend Async Function GetSelectedMemberDeclarationAsync(context As CodeRefactoringContext) As Task(Of ImmutableArray(Of SyntaxNode))
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
215Private Function IReplaceMethodWithPropertyService_GetMethodDeclarationAsync(context As CodeRefactoringContext) As Task(Of SyntaxNode) Implements IReplaceMethodWithPropertyService.GetMethodDeclarationAsync
Microsoft.CodeAnalysis.Workspaces (11)
CodeRefactorings\CodeRefactoringContext.cs (9)
19/// Document corresponding to the <see cref="CodeRefactoringContext.Span"/> to refactor. 23/// <see cref="CodeRefactoringContext.TextDocument"/> property instead. 39/// TextDocument corresponding to the <see cref="CodeRefactoringContext.Span"/> to refactor. 40/// This property should be used instead of <see cref="CodeRefactoringContext.Document"/> property by 47/// Text span within the <see cref="CodeRefactoringContext.Document"/> or <see cref="CodeRefactoringContext.TextDocument"/> to refactor. 59/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method. 71/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method. 82/// Creates a code refactoring context to be passed into <see cref="CodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext)"/> method.
CodeRefactorings\CodeRefactoringProvider.cs (2)
21/// Computes one or more refactorings for the specified <see cref="CodeRefactoringContext"/>. 23public abstract Task ComputeRefactoringsAsync(CodeRefactoringContext context);