1 write to _cache
Microsoft.Cci.Extensions (1)
SRMetadataPEReaderCache.cs (1)
25
_cache
= new Dictionary<string, (FileStream, PEReader)>();
6 references to _cache
Microsoft.Cci.Extensions (6)
SRMetadataPEReaderCache.cs (6)
23
if (
_cache
== null)
29
if (
_cache
.TryGetValue(assemblyPath, out (FileStream _, PEReader peReader) value))
38
_cache
.Add(assemblyPath, (stream, peReader));
46
if (
_cache
!= null)
48
foreach ((FileStream stream, PEReader reader) in
_cache
.Values)
54
_cache
.Clear();