Class CompilationWithAnalyzersOptions
Inheritance
CompilationWithAnalyzersOptions
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public sealed class CompilationWithAnalyzersOptions
Constructors
CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool)
Declaration
public CompilationWithAnalyzersOptions(AnalyzerOptions options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime)
Parameters
CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool, bool)
Declaration
public CompilationWithAnalyzersOptions(AnalyzerOptions options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics)
Parameters
CompilationWithAnalyzersOptions(AnalyzerOptions?, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool, bool, Func<Exception, bool>?)
Declaration
public CompilationWithAnalyzersOptions(AnalyzerOptions? options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception, bool>? analyzerExceptionFilter)
Parameters
Properties
AnalyzerExceptionFilter
Declaration
public Func<Exception, bool>? AnalyzerExceptionFilter { get; }
Property Value
ConcurrentAnalysis
Declaration
public bool ConcurrentAnalysis { get; }
Property Value
LogAnalyzerExecutionTime
Declaration
public bool LogAnalyzerExecutionTime { get; }
Property Value
OnAnalyzerException
Declaration
public Action<Exception, DiagnosticAnalyzer, Diagnostic>? OnAnalyzerException { get; }
Property Value
Options
Declaration
public AnalyzerOptions? Options { get; }
Property Value
ReportSuppressedDiagnostics
Declaration
public bool ReportSuppressedDiagnostics { get; }
Property Value