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