1 write to SyntaxDiagnostics
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResult.cs (1)
30
SyntaxDiagnostics
= localSyntaxDiagnostics;
14 references to SyntaxDiagnostics
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisResult.cs (2)
97
if (
SyntaxDiagnostics
.Count > 0 || SemanticDiagnostics.Count > 0 || AdditionalFileDiagnostics.Count > 0 || CompilationDiagnostics.Count > 0)
100
AddLocalDiagnostics(
SyntaxDiagnostics
, excludedAnalyzers, builder);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
454
/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.
SyntaxDiagnostics
"/> produced by all <see cref="Analyzers"/> from analyzing the given <paramref name="tree"/>.
467
/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.
SyntaxDiagnostics
"/> produced by all <see cref="Analyzers"/>
482
/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.
SyntaxDiagnostics
"/> produced by given <paramref name="analyzers"/> from analyzing the given <paramref name="tree"/>.
497
/// Returns an <see cref="AnalysisResult"/> populated with <see cref="AnalysisResult.
SyntaxDiagnostics
"/> produced by given <paramref name="analyzers"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
466
if (analysisResult.
SyntaxDiagnostics
.TryGetValue(semanticModel.SyntaxTree, out var diagnostics))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3710
var diagnosticsMap = syntax ? analysisResult.
SyntaxDiagnostics
: analysisResult.SemanticDiagnostics;
Diagnostics\GetDiagnosticsTests.cs (4)
925
Assert.Empty(result.
SyntaxDiagnostics
);
1131
result.
SyntaxDiagnostics
[tree1][analyzer].Verify(
1136
result.
SyntaxDiagnostics
[tree2][analyzer].Verify(
1152
Assert.Empty(result.
SyntaxDiagnostics
);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\AnalysisResultPair.cs (2)
61
(projectDiagnostics: ProjectAnalysisResult?.
SyntaxDiagnostics
, hostDiagnostics: HostAnalysisResult?.
SyntaxDiagnostics
));