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