1 write to CurrentCache
Microsoft.Build (1)
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
22CurrentCache = new ResultsCache();
15 references to CurrentCache
Microsoft.Build (14)
BackEnd\BuildManager\CacheSerialization.cs (1)
62resultsCacheToSerialize = resultsCacheWithOverride.CurrentCache;
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (13)
27CurrentCache.InitializeComponent(host); 32CurrentCache.ShutdownComponent(); 42CurrentCache.AddResult(result); 47CurrentCache.ClearResults(); 56ErrorUtilities.VerifyThrow(CurrentCache.GetResultForRequest(request) == null, "caches should not overlap"); 61return CurrentCache.GetResultForRequest(request); 70ErrorUtilities.VerifyThrow(CurrentCache.GetResultsForConfiguration(configurationId) == null, "caches should not overlap"); 75return CurrentCache.GetResultsForConfiguration(configurationId); 94CurrentCache.SatisfyRequest( 105return CurrentCache.SatisfyRequest( 114CurrentCache.ClearResultsForConfiguration(configurationId); 119CurrentCache.WriteResultsToDisk(); 124return CurrentCache.GetEnumerator();
Microsoft.Build.Engine.UnitTests (1)
BackEnd\Scheduler_Tests.cs (1)
613Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.ResultsCache)).CurrentCache.GetResultsForConfiguration(1));