CompilationWithAnalyzersOptions Constructors

Definition

Overloads

CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, 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, Boolean, Func<Exception,Boolean>)

Creates a new CompilationWithAnalyzersOptions.

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

Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
public:
 CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean)

Parameters

options
AnalyzerOptions

Options that are passed to analyzers.

onAnalyzerException
Action<Exception,DiagnosticAnalyzer,Diagnostic>

Action to invoke if an analyzer throws an exception.

concurrentAnalysis
Boolean

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

logAnalyzerExecutionTime
Boolean

Flag indicating whether analyzer execution time should be logged.

Applies to

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

Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
public:
 CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool * bool -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean, reportSuppressedDiagnostics As Boolean)

Parameters

options
AnalyzerOptions

Options that are passed to analyzers.

onAnalyzerException
Action<Exception,DiagnosticAnalyzer,Diagnostic>

Action to invoke if an analyzer throws an exception.

concurrentAnalysis
Boolean

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

logAnalyzerExecutionTime
Boolean

Flag indicating whether analyzer execution time should be logged.

reportSuppressedDiagnostics
Boolean

Flag indicating whether analyzer diagnostics with IsSuppressed should be reported.

Applies to

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

Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
Source:
CompilationWithAnalyzersOptions.cs
public:
 CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception ^, bool> ^ analyzerExceptionFilter);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception,bool> analyzerExceptionFilter);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions? options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception,bool>? analyzerExceptionFilter);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool * bool * Func<Exception, bool> -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean, reportSuppressedDiagnostics As Boolean, analyzerExceptionFilter As Func(Of Exception, Boolean))

Parameters

options
AnalyzerOptions

Options that are passed to analyzers.

onAnalyzerException
Action<Exception,DiagnosticAnalyzer,Diagnostic>

Action to invoke if an analyzer throws an exception.

concurrentAnalysis
Boolean

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

logAnalyzerExecutionTime
Boolean

Flag indicating whether analyzer execution time should be logged.

reportSuppressedDiagnostics
Boolean

Flag indicating whether analyzer diagnostics with IsSuppressed should be reported.

analyzerExceptionFilter
Func<Exception,Boolean>

Action to invoke if an analyzer throws an exception as an exception filter.

Applies to