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