6 instantiations of CompilationWithAnalyzersOptions
dotnet-format (1)
Analyzers\AnalyzerRunner.cs (1)
69
var analyzerOptions = new
CompilationWithAnalyzersOptions
(
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
861
var analysisOptions = new
CompilationWithAnalyzersOptions
(options, onAnalyzerException, analyzerExceptionFilter: analyzerExceptionFilter, concurrentAnalysis: true, logAnalyzerExecutionTime: reportAnalyzer, reportSuppressedDiagnostics: false);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
84
: this(compilation, analyzers, new
CompilationWithAnalyzersOptions
(options, onAnalyzerException: null, analyzerExceptionFilter: null, concurrentAnalysis: true, logAnalyzerExecutionTime: true, reportSuppressedDiagnostics: false))
DiagnosticAnalyzer\CompilationWithAnalyzersOptions.cs (1)
112
/// <inheritdoc cref="CompilationWithAnalyzersOptions.
CompilationWithAnalyzersOptions
(AnalyzerOptions?, Action{Exception, DiagnosticAnalyzer, Diagnostic}?, bool, bool, bool, Func{Exception, bool}?)"/>
Microsoft.CodeAnalysis.Features (2)
Diagnostics\Service\DiagnosticAnalyzerService_CompilationWithAnalyzersPair.cs (1)
100
new
CompilationWithAnalyzersOptions
(
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
84
var analyzerOptions = new
CompilationWithAnalyzersOptions
(
15 references to CompilationWithAnalyzersOptions
dotnet-format (1)
Analyzers\AnalyzerRunner.cs (1)
69
var
analyzerOptions = new CompilationWithAnalyzersOptions(
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
466
CompilationWithAnalyzersOptions
analysisOptions,
861
var
analysisOptions = new CompilationWithAnalyzersOptions(options, onAnalyzerException, analyzerExceptionFilter: analyzerExceptionFilter, concurrentAnalysis: true, logAnalyzerExecutionTime: reportAnalyzer, reportSuppressedDiagnostics: false);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (6)
30
private readonly
CompilationWithAnalyzersOptions
_analysisOptions;
59
public
CompilationWithAnalyzersOptions
AnalysisOptions => _analysisOptions;
94
public CompilationWithAnalyzers(Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers,
CompilationWithAnalyzersOptions
analysisOptions)
113
private static void VerifyArguments(Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers,
CompilationWithAnalyzersOptions
analysisOptions)
360
CompilationWithAnalyzersOptions
analysisOptions,
1271
/// Gets telemetry info for the given analyzer, such as count of registered actions, the total execution time (if <see cref="
CompilationWithAnalyzersOptions
.LogAnalyzerExecutionTime"/> is true), etc.
DiagnosticAnalyzer\CompilationWithAnalyzersOptions.cs (4)
59
/// Creates a new <see cref="
CompilationWithAnalyzersOptions
"/>.
75
/// Creates a new <see cref="
CompilationWithAnalyzersOptions
"/>.
93
/// Creates a new <see cref="
CompilationWithAnalyzersOptions
"/>.
112
/// <inheritdoc cref="
CompilationWithAnalyzersOptions
.CompilationWithAnalyzersOptions(AnalyzerOptions?, Action{Exception, DiagnosticAnalyzer, Diagnostic}?, bool, bool, bool, Func{Exception, bool}?)"/>
DiagnosticAnalyzer\DiagnosticAnalyzerExtensions.cs (1)
41
public static CompilationWithAnalyzers WithAnalyzers(this Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers,
CompilationWithAnalyzersOptions
analysisOptions)
Microsoft.CodeAnalysis.Features (1)
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
84
var
analyzerOptions = new CompilationWithAnalyzersOptions(