C# Class Microsoft.CodeAnalysis.Diagnostics.AnalysisResult

Stores the results of analyzer execution: 1. Local and non-local diagnostics, per-analyzer. 2. Analyzer execution times, if requested.
Exibir arquivo Open project: mob-sakai/OpenSesame Class Usage Examples

Public Methods

Method Description
GetAllDiagnostics ( ) : ImmutableArray
GetAllDiagnostics ( DiagnosticAnalyzer analyzer ) : ImmutableArray

Private Methods

Method Description
AddLocalDiagnostics ( ImmutableDictionary localDiagnostics, ImmutableHashSet excludedAnalyzers, ImmutableArray.Builder builder ) : void
AddNonLocalDiagnostics ( ImmutableDictionary nonLocalDiagnostics, ImmutableHashSet excludedAnalyzers, ImmutableArray.Builder builder ) : void
AnalysisResult ( ImmutableArray analyzers, ImmutableDictionary localSyntaxDiagnostics, ImmutableDictionary localSemanticDiagnostics, ImmutableDictionary localAdditionalFileDiagnostics, ImmutableDictionary nonLocalDiagnostics, ImmutableDictionary analyzerTelemetryInfo ) : System
GetDiagnostics ( IEnumerable analyzers ) : ImmutableArray
GetDiagnostics ( ImmutableHashSet excludedAnalyzers ) : ImmutableArray

Method Details

GetAllDiagnostics() public method

public GetAllDiagnostics ( ) : ImmutableArray
return ImmutableArray

GetAllDiagnostics() public method

public GetAllDiagnostics ( DiagnosticAnalyzer analyzer ) : ImmutableArray
analyzer DiagnosticAnalyzer
return ImmutableArray