38 references to GetAllDiagnosticsAsync
GenerateDocumentationAndConfigFiles (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.CodeAnalysis.Analyzers (6)
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.FixAllProvider.cs (2)
41
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
50
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (2)
54
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
63
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (2)
33
FixAllScope.Project => await fixAllContext.
GetAllDiagnosticsAsync
(fixAllContext.Project).ConfigureAwait(false),
57
var projectDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (2)
33
FixAllScope.Project => await fixAllContext.
GetAllDiagnosticsAsync
(fixAllContext.Project).ConfigureAwait(false),
57
var projectDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (5)
AnnotatePublicApiFix.cs (2)
219
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
229
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
DeclarePublicApiFix.cs (2)
370
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
380
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
NullableEnablePublicApiFix.cs (1)
139
ImmutableArray<Diagnostic> diagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (3)
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
53
/// Note that <see cref="GetDocumentDiagnosticsAsync(Document)"/>, <see cref="GetProjectDiagnosticsAsync(Project)"/> and <see cref="
GetAllDiagnosticsAsync
(Project)"/> methods
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Microsoft.Interop.ComInterfaceGenerator (3)
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (3)
22
return await context.
GetAllDiagnosticsAsync
(context.Project).ConfigureAwait(false);
42
return (await Task.WhenAll(sortedProjects.Select(context.
GetAllDiagnosticsAsync
)).ConfigureAwait(false)).SelectMany(diag => diag).ToImmutableArray();
61
ImmutableArray<Diagnostic> diagnostics = await context.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\CustomMarshallerAttributeFixer.cs (2)
94
return await context.
GetAllDiagnosticsAsync
(context.Project).ConfigureAwait(false);
96
return ImmutableArray.CreateRange((await Task.WhenAll(context.Solution.Projects.Select(context.
GetAllDiagnosticsAsync
)).ConfigureAwait(false)).SelectMany(arr => arr));
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (3)
22
return await context.
GetAllDiagnosticsAsync
(context.Project).ConfigureAwait(false);
42
return (await Task.WhenAll(sortedProjects.Select(context.
GetAllDiagnosticsAsync
)).ConfigureAwait(false)).SelectMany(diag => diag).ToImmutableArray();
61
ImmutableArray<Diagnostic> diagnostics = await context.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
Roslyn.Diagnostics.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));
Text.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextHelper.cs (2)
67
allDiagnostics = await fixAllContext.
GetAllDiagnosticsAsync
(project).ConfigureAwait(false);
86
callback(await fixAllContext.
GetAllDiagnosticsAsync
(projectToFix).ConfigureAwait(false));