13 references to CachingDictionary
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MergedNamespaceSymbol.cs (1)
93_cachedLookup = new CachingDictionary<ReadOnlyMemory<char>, Symbol>(SlowGetChildrenOfName, SlowGetChildNames, ReadOnlyMemoryOfCharComparer.Instance);
Microsoft.CodeAnalysis.UnitTests (12)
CachingLookupTests.cs (12)
163var look2 = new CachingDictionary<string, int>( 169look2 = new CachingDictionary<string, int>( 176look2 = new CachingDictionary<string, int>( 195var look2 = new CachingDictionary<string, int>( 201look2 = new CachingDictionary<string, int>( 208look2 = new CachingDictionary<string, int>( 227var look2 = new CachingDictionary<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(), 232look2 = new CachingDictionary<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(), 238look2 = new CachingDictionary<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(), 259var look1 = new CachingDictionary<string, int>(s => 299lookup = new CachingDictionary<int, FullyPopulateRaceHelper>(getElementsOfKey, getKeys, EqualityComparer<int>.Default); 336lookup = new CachingDictionary<int, FullyPopulateRaceHelper>(getElementsOfKey, getKeys, EqualityComparer<int>.Default);