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)
163
var look2 = new
CachingDictionary
<string, int>(
169
look2 = new
CachingDictionary
<string, int>(
176
look2 = new
CachingDictionary
<string, int>(
195
var look2 = new
CachingDictionary
<string, int>(
201
look2 = new
CachingDictionary
<string, int>(
208
look2 = new
CachingDictionary
<string, int>(
227
var look2 = new
CachingDictionary
<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(),
232
look2 = new
CachingDictionary
<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(),
238
look2 = new
CachingDictionary
<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(),
259
var look1 = new
CachingDictionary
<string, int>(s =>
299
lookup = new
CachingDictionary
<int, FullyPopulateRaceHelper>(getElementsOfKey, getKeys, EqualityComparer<int>.Default);
336
lookup = new
CachingDictionary
<int, FullyPopulateRaceHelper>(getElementsOfKey, getKeys, EqualityComparer<int>.Default);