Condividi tramite


CompilationWithAnalyzersOptions Class

Definition

Options to configure analyzer execution within CompilationWithAnalyzers.

public ref class CompilationWithAnalyzersOptions sealed
public sealed class CompilationWithAnalyzersOptions
type CompilationWithAnalyzersOptions = class
Public NotInheritable Class CompilationWithAnalyzersOptions
Inheritance
CompilationWithAnalyzersOptions

Constructors

CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean, Boolean, Func<Exception,Boolean>)

Creates a new CompilationWithAnalyzersOptions.

CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean, Boolean)

Creates a new CompilationWithAnalyzersOptions.

CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean)

Creates a new CompilationWithAnalyzersOptions.

Properties

AnalyzerExceptionFilter

An optional delegate to be invoked when an analyzer throws an exception as an exception filter.

ConcurrentAnalysis

Flag indicating whether analysis can be performed concurrently on multiple threads.

LogAnalyzerExecutionTime

Flag indicating whether analyzer execution time should be logged.

OnAnalyzerException

An optional delegate to be invoked when an analyzer throws an exception.

Options

Options passed to DiagnosticAnalyzers.

ReportSuppressedDiagnostics

Flag indicating whether analyzer diagnostics with IsSuppressed should be reported.

Applies to