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