1 write to CurrentCache
Microsoft.Build (1)
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
18CurrentCache = new ResultsCache();
14 references to CurrentCache
Microsoft.Build (14)
BackEnd\BuildManager\CacheSerialization.cs (1)
51ResultsCacheWithOverride resultsCacheWithOverride => resultsCacheWithOverride.CurrentCache,
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (13)
23CurrentCache.InitializeComponent(host); 28CurrentCache.ShutdownComponent(); 36CurrentCache.AddResult(result); 41CurrentCache.ClearResults(); 50Assumed.Null(CurrentCache.GetResultForRequest(request), "caches should not overlap"); 55return CurrentCache.GetResultForRequest(request); 64Assumed.Null(CurrentCache.GetResultsForConfiguration(configurationId), "caches should not overlap"); 69return CurrentCache.GetResultsForConfiguration(configurationId); 87Assumed.Equal(CurrentCache.SatisfyRequest( 97return CurrentCache.SatisfyRequest( 106CurrentCache.ClearResultsForConfiguration(configurationId); 111CurrentCache.WriteResultsToDisk(); 116return CurrentCache.GetEnumerator();