13 instantiations of 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);
10 references to CachingDictionary
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MergedNamespaceSymbol.cs (1)
43
private readonly
CachingDictionary
<ReadOnlyMemory<char>, Symbol> _cachedLookup;
Microsoft.CodeAnalysis.UnitTests (9)
CachingLookupTests.cs (9)
104
private void CompareLookups1(ILookup<string, int> look1,
CachingDictionary
<string, int> look2, SegmentedHashSet<string> keys)
121
private void CompareLookups2(ILookup<string, int> look1,
CachingDictionary
<string, int> look2, SegmentedHashSet<string> keys)
136
private void CompareLookups2(
CachingDictionary
<string, int> look1, ILookup<string, int> look2, SegmentedHashSet<string> keys)
163
var
look2 = new CachingDictionary<string, int>(
195
var
look2 = new CachingDictionary<string, int>(
227
var
look2 = new CachingDictionary<string, int>(s => dict.TryGetValue(s, out var value) ? value : ImmutableArray.Create<int>(),
259
var
look1 = new CachingDictionary<string, int>(s =>
296
CachingDictionary
<int, FullyPopulateRaceHelper> lookup = null;
333
CachingDictionary
<int, FullyPopulateRaceHelper> lookup = null;