netcoreapp2.0
namespace Microsoft.CodeAnalysis.Diagnostics
{
    public class CompilationWithAnalyzers
    {
        [AsyncStateMachine(typeof(<GetAnalyzerCompilationDiagnosticsAsync>d__44))]
        [Obsolete("This API was found to have performance issues and hence has been deprecated. Instead, invoke the API 'GetAnalysisResultAsync' and access the property 'CompilationDiagnostics' on the returned 'AnalysisResult' to fetch the compilation diagnostics.")]
        public Task<ImmutableArray<Diagnostic>> GetAnalyzerCompilationDiagnosticsAsync(ImmutableArray<DiagnosticAnalyzer> analyzers, CancellationToken cancellationToken);
    }
}
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to netcoreapp2.0
Assembly

Microsoft.CodeAnalysis , Version=2.3.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

The API is automatically referenced.

Obsolete This API was found to have performance issues and hence has been deprecated. Instead, invoke the API 'GetAnalysisResultAsync' and access the property 'CompilationDiagnostics' on the returned 'AnalysisResult' to fetch the compilation diagnostics.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

01/07/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙