2 instantiations of CodeRefactoring
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\CodeRefactoringService.cs (1)
281return new CodeRefactoring(provider, actions.ToImmutable(), fixAllProviderInfo);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
477: new CodeRefactoring(refactoring.Provider, actions, refactoring.FixAllProviderInfo);
17 references to CodeRefactoring
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
CodeRefactorings\CodeRefactoringServiceTest.cs (3)
53var stubRefactoringAction = refactorings.Single(refactoring => refactoring.CodeActions.FirstOrDefault().action?.Title == nameof(StubRefactoring)); 190var logRefactoring = Assert.Single(logRefactorings); 229var globalConfigRefactoring = Assert.Single(globalConfigRefactorings);
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
56var codeIssueOrRefactoring = await GetCodeRefactoringAsync(workspace, new TestParameters());
Microsoft.CodeAnalysis.Features (7)
CodeRefactorings\CodeRefactoringService.cs (5)
147var refactoring = await @this.GetRefactoringFromProviderAsync( 180public async Task<ImmutableArray<CodeRefactoring>> GetRefactoringsAsync( 193var pairs = await ProducerConsumer<(CodeRefactoringProvider provider, CodeRefactoring codeRefactoring)>.RunParallelAsync( 218var refactoring = await @this.GetRefactoringFromProviderAsync( 237private Task<CodeRefactoring?> GetRefactoringFromProviderAsync(
CodeRefactorings\ICodeRefactoringService.cs (2)
17Task<ImmutableArray<CodeRefactoring>> GetRefactoringsAsync(TextDocument document, TextSpan textSpan, CodeActionRequestPriority? priority, CancellationToken cancellationToken); 22public static Task<ImmutableArray<CodeRefactoring>> GetRefactoringsAsync(this ICodeRefactoringService service, TextDocument document, TextSpan state, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (6)
452foreach (var refactoring in filteredRefactorings) 461private static ImmutableArray<CodeRefactoring> FilterOnAnyThread( 462ImmutableArray<CodeRefactoring> refactorings, 467private static CodeRefactoring? FilterOnAnyThread( 468CodeRefactoring refactoring, 508CodeRefactoring refactoring,