1 write to AdditionalFileDiagnostics
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResult.cs (1)
32AdditionalFileDiagnostics = localAdditionalFileDiagnostics;
11 references to AdditionalFileDiagnostics
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisResult.cs (2)
97if (SyntaxDiagnostics.Count > 0 || SemanticDiagnostics.Count > 0 || AdditionalFileDiagnostics.Count > 0 || CompilationDiagnostics.Count > 0) 102AddLocalDiagnostics(AdditionalFileDiagnostics, excludedAnalyzers, builder);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
514/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.AdditionalFileDiagnostics"/> produced by all <see cref="Analyzers"/> from analyzing the given additional <paramref name="file"/>. 528/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.AdditionalFileDiagnostics"/> produced by given <paramref name="analyzers"/> from analyzing the given additional <paramref name="file"/>. 544/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.AdditionalFileDiagnostics"/> produced by all <see cref="Analyzers"/> from analyzing the given additional <paramref name="file"/>, 560/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.AdditionalFileDiagnostics"/> produced by given <paramref name="analyzers"/> from analyzing the given additional <paramref name="file"/>,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.cs (3)
3894verifyDiagnostics(analysisResult.AdditionalFileDiagnostics[additionalFile][analyzer]); 3898verifyDiagnostics(analysisResult.AdditionalFileDiagnostics[additionalFile][analyzer]); 4023if (analysisResult.AdditionalFileDiagnostics.TryGetValue(additionalFile, out var diagnosticsMap) &&
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\AnalysisResultPair.cs (2)
111(projectDiagnostics: ProjectAnalysisResult?.AdditionalFileDiagnostics, hostDiagnostics: HostAnalysisResult?.AdditionalFileDiagnostics));