5 references to Diagnostics
dotnet-format (5)
Analyzers\AnalyzerFormatter.cs (3)
169LogDiagnosticLocations(solution, result.Diagnostics.SelectMany(kvp => kvp.Value), options.SaveFormattedFiles, options.ChangesAreErrors, logger, options.LogLevel, formattedFiles); 171return result.Diagnostics.ToImmutableDictionary(kvp => kvp.Key.Id, kvp => kvp.Value.Select(diagnostic => diagnostic.Id).ToImmutableHashSet()); 245var hasDiagnostics = result.Diagnostics.Any(kvp => kvp.Value.Count > 0);
Analyzers\SolutionCodeFixApplier.cs (2)
30var diagnostic = result.Diagnostics 100_diagnosticsByProject = analysisResult.Diagnostics;