10 references to WithAnalyzers
AnalyzerRunner (2)
DiagnosticAnalyzerRunner.cs (2)
191
CompilationWithAnalyzers compilationWithAnalyzers = compilation.
WithAnalyzers
(languageAnalyzers, new CompilationWithAnalyzersOptions(workspaceAnalyzerOptions, null, analyzerOptionsInternal.RunConcurrent, logAnalyzerExecutionTime: true, reportSuppressedDiagnostics: analyzerOptionsInternal.ReportSuppressedDiagnostics));
399
var compilationWithAnalyzers = newCompilation.
WithAnalyzers
(analyzers, new CompilationWithAnalyzersOptions(workspaceAnalyzerOptions, null, analyzerOptionsInternal.RunConcurrent, logAnalyzerExecutionTime: true, reportSuppressedDiagnostics: analyzerOptionsInternal.ReportSuppressedDiagnostics));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Diagnostics\GetDiagnosticsTests.cs (4)
602
var compilationWithAnalyzers = compilation.
WithAnalyzers
(analyzers,
655
var compilationWithAnalyzers = compilation.
WithAnalyzers
(analyzers,
684
var compilationWithAnalyzers = compilation.
WithAnalyzers
(analyzers,
1072
compilationWithAnalyzers = compilation.
WithAnalyzers
(analyzers, options);
Microsoft.CodeAnalysis.Features (1)
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
86
var analyzerCompilation = compilation.
WithAnalyzers
(diagnosticAnalyzers, analyzerOptions);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
168
return compilation.
WithAnalyzers
(filteredAnalyzers, analyzerOptions);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (2)
137
compilationWithAnalyzers = compilationWithAnalyzers.Compilation.
WithAnalyzers
(analyzers, compilationWithAnalyzers.AnalysisOptions);
354
return compilation.
WithAnalyzers
(analyzers, analyzerOptions);