Click or drag to resize

CompilationWithAnalyzersOptions Class



Options to configure analyzer execution within CompilationWithAnalyzers.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.DiagnosticsCompilationWithAnalyzersOptions

Namespace:  Microsoft.CodeAnalysis.Diagnostics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class CompilationWithAnalyzersOptions

The CompilationWithAnalyzersOptions type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAnalyzerExceptionFilter
An optional delegate to be invoked when an analyzer throws an exception as an exception filter.
Public propertyConcurrentAnalysis
Flag indicating whether analysis can be performed concurrently on multiple threads.
Public propertyLogAnalyzerExecutionTime
Flag indicating whether analyzer execution time should be logged.
Public propertyOnAnalyzerException
An optional delegate to be invoked when an analyzer throws an exception.
Public propertyOptions
Options passed to DiagnosticAnalyzers.
Public propertyReportSuppressedDiagnostics
Flag indicating whether analyzer diagnostics with IsSuppressed should be reported.
Top
See Also