Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.CodeAnalysis.Diagnostics
  3. CompilationWithAnalyzersOptions
  4. OnAnalyzerException
  • CompilationWithAnalyzersOptions
    • CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>, Boolean, Boolean)
    • CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>, Boolean, Boolean, Boolean)
    • CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>, Boolean, Boolean, Boolean, Func<Exception, Boolean>)
    • CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>, Boolean, Boolean, Boolean, Func<Exception, Boolean>, Func<DiagnosticAnalyzer, AnalyzerConfigOptionsProvider>)
    • AnalyzerExceptionFilter
    • ConcurrentAnalysis
    • LogAnalyzerExecutionTime
    • OnAnalyzerException
    • Options
    • ReportSuppressedDiagnostics
netcoreapp2.2
namespace Microsoft.CodeAnalysis.Diagnostics
{
    public sealed class CompilationWithAnalyzersOptions
    {
        public Action<Exception, DiagnosticAnalyzer, Diagnostic> OnAnalyzerException { get; }
    }
}
.NET
5.06.07.08.09.010.011.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.2
Assembly

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

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/19/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙