6 instantiations of CompilationWithAnalyzersOptions
dotnet-format (1)
Analyzers\AnalyzerRunner.cs (1)
69var analyzerOptions = new CompilationWithAnalyzersOptions(
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
861var 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)
100new CompilationWithAnalyzersOptions(
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
84var analyzerOptions = new CompilationWithAnalyzersOptions(
15 references to CompilationWithAnalyzersOptions
dotnet-format (1)
Analyzers\AnalyzerRunner.cs (1)
69var analyzerOptions = new CompilationWithAnalyzersOptions(
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
466CompilationWithAnalyzersOptions analysisOptions, 861var analysisOptions = new CompilationWithAnalyzersOptions(options, onAnalyzerException, analyzerExceptionFilter: analyzerExceptionFilter, concurrentAnalysis: true, logAnalyzerExecutionTime: reportAnalyzer, reportSuppressedDiagnostics: false);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (6)
30private readonly CompilationWithAnalyzersOptions _analysisOptions; 59public CompilationWithAnalyzersOptions AnalysisOptions => _analysisOptions; 94public CompilationWithAnalyzers(Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers, CompilationWithAnalyzersOptions analysisOptions) 113private static void VerifyArguments(Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers, CompilationWithAnalyzersOptions analysisOptions) 360CompilationWithAnalyzersOptions 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)
41public static CompilationWithAnalyzers WithAnalyzers(this Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers, CompilationWithAnalyzersOptions analysisOptions)
Microsoft.CodeAnalysis.Features (1)
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
84var analyzerOptions = new CompilationWithAnalyzersOptions(