1 write to CompilationDiagnostics
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResult.cs (1)
33CompilationDiagnostics = nonLocalDiagnostics;
12 references to CompilationDiagnostics
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalysisResult.cs (2)
97if (SyntaxDiagnostics.Count > 0 || SemanticDiagnostics.Count > 0 || AdditionalFileDiagnostics.Count > 0 || CompilationDiagnostics.Count > 0) 103AddNonLocalDiagnostics(CompilationDiagnostics, excludedAnalyzers, builder);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
493foreach (var perAnalyzerDiagnostics in analysisResult.CompilationDiagnostics.Values)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Diagnostics\GetDiagnosticsTests.cs (4)
909result.CompilationDiagnostics[analyzer].Verify( 1139result.CompilationDiagnostics[analyzer].Verify( 1156var nonLocalSemanticDiagnostics = result.CompilationDiagnostics[analyzer]; 1706Assert.Empty(result.CompilationDiagnostics);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Preview\PreviewWorkspaceTests.cs (1)
171Assert.Equal(1, result.CompilationDiagnostics.Count);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
493foreach (var perAnalyzerDiagnostics in analysisResult.CompilationDiagnostics.Values)
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\CompilationWithAnalyzersTests.cs (1)
65Assert.Empty(analysisResult.CompilationDiagnostics);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\AnalysisResultPair.cs (2)
136(projectDiagnostics: ProjectAnalysisResult?.CompilationDiagnostics, hostDiagnostics: HostAnalysisResult?.CompilationDiagnostics));