2 instantiations of CodeFixCollection
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
172result.Add(Tuple.Create(diagnostic, New CodeFixCollection(
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
751return new CodeFixCollection(
37 references to CodeFixCollection
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
CodeFixes\CodeFixServiceTests.cs (4)
251private static Task<ImmutableArray<CodeFixCollection>> GetAddedFixesWithExceptionValidationAsync(CodeFixProvider codefix) 254private static async Task<ImmutableArray<CodeFixCollection>> GetAddedFixesAsync(CodeFixProvider codefix, DiagnosticAnalyzer diagnosticAnalyzer, bool exception = false, bool throwExceptionInFixerCreation = false) 683private static async Task<ImmutableArray<CodeFixCollection>> GetNuGetAndVsixCodeFixersCoreAsync( 834var logDocumentCodeFix = Assert.Single(logDocumentCodeFixes);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (3)
126Friend Async Function GetDiagnosticAndFixAsync(workspace As TestWorkspace) As Task(Of Tuple(Of Diagnostic, CodeFixCollection)) 152Private Async Function GetDiagnosticAndFixesAsync(workspace As TestWorkspace) As Task(Of IEnumerable(Of Tuple(Of Diagnostic, CodeFixCollection))) 159Dim result = New List(Of Tuple(Of Diagnostic, CodeFixCollection))
Microsoft.CodeAnalysis.Features (2)
CodeFixes\FirstFixResult.cs (2)
12public readonly CodeFixCollection? CodeFixCollection; 17public FirstFixResult(bool upToDate, CodeFixCollection? codeFixCollection)
Microsoft.CodeAnalysis.LanguageServer.Protocol (28)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
178var fixCollection = await _codeFixService.GetDocumentFixAllForIdInSpanAsync(
Features\CodeFixes\CodeFixService.cs (16)
135var collection = await errorFixTask.ConfigureAwait(false) ?? 141async Task<CodeFixCollection?> GetFirstFixAsync( 145await foreach (var collection in StreamFixesAsync( 157public async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 197await foreach (var collection in StreamFixesAsync( 218await foreach (var codeFixCollection in StreamConfigurationFixesAsync( 251public Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 255public async Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync( 266using var resultDisposer = ArrayBuilder<CodeFixCollection>.GetInstance(out var result); 272await foreach (var collection in StreamFixesAsync( 304var fixCollection = await GetDocumentFixAllForIdInSpanAsync( 399private async IAsyncEnumerable<CodeFixCollection> StreamFixesAsync( 484var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 649private async IAsyncEnumerable<CodeFixCollection> StreamConfigurationFixesAsync( 670var codeFixCollection = await TryGetFixesOrConfigurationsAsync( 686private async Task<CodeFixCollection?> TryGetFixesOrConfigurationsAsync<TCodeFixProvider>(
Features\CodeFixes\ICodeFixService.cs (6)
19IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(TextDocument document, TextSpan textSpan, CodeActionRequestPriority priority, CodeActionOptionsProvider options, bool isBlocking, Func<string, IDisposable?> addOperationScope, CancellationToken cancellationToken); 28Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync(TextDocument document, TextSpan textSpan, string diagnosticId, DiagnosticSeverity severity, CodeActionOptionsProvider fallbackOptions, CancellationToken cancellationToken); 36public static IAsyncEnumerable<CodeFixCollection> StreamFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CodeActionOptionsProvider fallbackOptions, bool isBlocking, CancellationToken cancellationToken) 39public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan range, CodeActionOptionsProvider fallbackOptions, bool isBlocking, CancellationToken cancellationToken) 42public static Task<ImmutableArray<CodeFixCollection>> GetFixesAsync(this ICodeFixService service, TextDocument document, TextSpan textSpan, CodeActionRequestPriority priority, CodeActionOptionsProvider fallbackOptions, bool isBlocking, Func<string, IDisposable?> addOperationScope, CancellationToken cancellationToken) 45public static Task<CodeFixCollection?> GetDocumentFixAllForIdInSpanAsync(this ICodeFixService service, TextDocument document, TextSpan range, string diagnosticId, CodeActionOptionsProvider fallbackOptions, CancellationToken cancellationToken)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (5)
72ImmutableArray<CodeFixCollection> fixCollections, 92ImmutableArray<CodeFixCollection> fixCollections, 97foreach (var fixCollection in fixCollections) 106CodeFixCollection fixCollection, 136CodeFixCollection fixCollection,