1 write to CurrentCache
Microsoft.Build (1)
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
19CurrentCache = new ResultsCache();
15 references to CurrentCache
Microsoft.Build (14)
BackEnd\BuildManager\CacheSerialization.cs (1)
63resultsCacheToSerialize = resultsCacheWithOverride.CurrentCache;
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (13)
24CurrentCache.InitializeComponent(host); 29CurrentCache.ShutdownComponent(); 39CurrentCache.AddResult(result); 44CurrentCache.ClearResults(); 53ErrorUtilities.VerifyThrow(CurrentCache.GetResultForRequest(request) == null, "caches should not overlap"); 58return CurrentCache.GetResultForRequest(request); 67ErrorUtilities.VerifyThrow(CurrentCache.GetResultsForConfiguration(configurationId) == null, "caches should not overlap"); 72return CurrentCache.GetResultsForConfiguration(configurationId); 91CurrentCache.SatisfyRequest( 102return CurrentCache.SatisfyRequest( 111CurrentCache.ClearResultsForConfiguration(configurationId); 116CurrentCache.WriteResultsToDisk(); 121return CurrentCache.GetEnumerator();
Microsoft.Build.Engine.UnitTests (1)
BackEnd\Scheduler_Tests.cs (1)
617Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.ResultsCache)).CurrentCache.GetResultsForConfiguration(1));