4 instantiations of CachingSemanticModelProvider
Microsoft.CodeAnalysis (4)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
847.WithSemanticModelProvider(new CachingSemanticModelProvider())
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (3)
100.WithSemanticModelProvider(new CachingSemanticModelProvider()) 726: _compilation.WithSemanticModelProvider(new CachingSemanticModelProvider()).WithEventQueue(new AsyncQueue<CompilationEvent>()); 1191compilation = compilation.WithSemanticModelProvider(new CachingSemanticModelProvider());
3 references to CachingSemanticModelProvider
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.CompilationData.cs (2)
15SemanticModelProvider = (CachingSemanticModelProvider)compilation.SemanticModelProvider!; 19public CachingSemanticModelProvider SemanticModelProvider { get; }
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
90protected CachingSemanticModelProvider SemanticModelProvider => CurrentCompilationData.SemanticModelProvider;