1 write to _providerCache
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (1)
33_providerCache = new ConditionalWeakTable<Compilation, PerCompilationProvider>();
3 references to _providerCache
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (3)
37=> _providerCache.GetValue(compilation, s_createProviderCallback).GetSemanticModel(tree, options); 41if (_providerCache.TryGetValue(compilation, out var provider)) 49_providerCache.Remove(compilation);