共用方式為


AnalysisResult Class

Definition

Stores the results of analyzer execution:

  1. Local and non-local diagnostics, per-analyzer.
  2. Analyzer execution times, if requested.
public ref class AnalysisResult
public class AnalysisResult
type AnalysisResult = class
Public Class AnalysisResult
Inheritance
AnalysisResult

Properties

AdditionalFileDiagnostics

Diagnostics in additional files reported by the Analyzers.

Analyzers

Analyzers corresponding to this analysis result.

AnalyzerTelemetryInfo

Analyzer telemetry info (register action counts and execution times).

CompilationDiagnostics

Compilation diagnostics reported by the Analyzers.

SemanticDiagnostics

Semantic diagnostics reported by the Analyzers.

SyntaxDiagnostics

Syntax diagnostics reported by the Analyzers.

Methods

GetAllDiagnostics()

Gets all the diagnostics reported by all the Analyzers.

GetAllDiagnostics(DiagnosticAnalyzer)

Gets all the diagnostics reported by the given analyzer.

Applies to