2 writes to _oldCache
MonoAOTCompiler (2)
src\tasks\Common\FileCache.cs (2)
36
_oldCache
= JsonSerializer.Deserialize<CompilerCache>(File.ReadAllText(cacheFilePath), s_jsonOptions);
39
_oldCache
??= new();
3 references to _oldCache
MonoAOTCompiler (3)
src\tasks\Common\FileCache.cs (3)
40
_newCache = new(
_oldCache
.FileHashes);
49
return !
_oldCache
!.FileHashes.TryGetValue(filePath, out string? oldHash) || oldHash != newHash;
69
if (!
_oldCache
!.FileHashes.TryGetValue(proxyFile.TargetFile, out oldHash))