Click or drag to resize

AnalysisResult Class



Stores the results of analyzer execution: 1. Local and non-local diagnostics, per-analyzer. 2. Analyzer execution times, if requested.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.DiagnosticsAnalysisResult

Namespace:  Microsoft.CodeAnalysis.Diagnostics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public class AnalysisResult

The AnalysisResult type exposes the following members.

Properties
  NameDescription
Public propertyAnalyzers
Analyzers corresponding to this analysis result.
Public propertyAnalyzerTelemetryInfo
Analyzer telemetry info (register action counts and execution times).
Public propertyCompilationDiagnostics
Compilation diagnostics reported by the Analyzers.
Public propertySemanticDiagnostics
Semantic diagnostics reported by the Analyzers.
Public propertySyntaxDiagnostics
Syntax diagnostics reported by the Analyzers.
Top
Methods
  NameDescription
Public methodGetAllDiagnostics
Gets all the diagnostics reported by all the Analyzers.
Public methodGetAllDiagnostics(DiagnosticAnalyzer)
Gets all the diagnostics reported by the given analyzer.
Top
See Also