1 write to _cache
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
4846_cache = PooledDictionary<Declaration, NamespaceOrTypeSymbol>.GetInstance();
5 references to _cache
Microsoft.CodeAnalysis.CSharp (5)
Compilation\CSharpCompilation.cs (5)
4868_cache.Free(); 4973=> _cache.TryGetValue(declaration, out NamespaceOrTypeSymbol? symbol) 5003_cache[mergedNamespace.ConstituentNamespaces.OfType<SourceNamespaceSymbol>().First().MergedDeclaration] = symbol; 5010_cache[sourceNamespace.MergedDeclaration] = sourceNamespace; 5017_cache[sourceType.MergedDeclaration] = sourceType;