40 instantiations of ResultsCache
Microsoft.Build (4)
BackEnd\BuildManager\CacheAggregator.cs (1)
46
_aggregatedResultsCache = new
ResultsCache
();
BackEnd\BuildManager\CacheSerialization.cs (1)
85
var tempResultsCacheToSerialize = new
ResultsCache
();
BackEnd\Components\Caching\ResultsCache.cs (1)
303
return new
ResultsCache
();
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
22
CurrentCache = new
ResultsCache
();
Microsoft.Build.Engine.UnitTests (36)
BackEnd\CacheAggregator_Tests.cs (10)
68
aggregator.Add(new ConfigCache(), new
ResultsCache
());
81
var resultsCache = new
ResultsCache
();
102
var resultsCache = new
ResultsCache
();
131
var resultsCache = new
ResultsCache
();
153
var resultsCache1 = new
ResultsCache
();
161
var resultsCache2 = new
ResultsCache
();
182
var resultsCache = new
ResultsCache
();
197
var resultsCache = new
ResultsCache
();
216
var resultsCache1 = new
ResultsCache
();
228
var resultsCache2 = new
ResultsCache
();
BackEnd\CacheSerialization_Tests.cs (1)
43
var resultsCache = new
ResultsCache
();
BackEnd\MockHost.cs (1)
101
_resultsCache = new
ResultsCache
();
BackEnd\RequestBuilder_Tests.cs (1)
409
_cache = new
ResultsCache
();
BackEnd\ResultsCache_Tests.cs (19)
29
ResultsCache cache = new
ResultsCache
();
35
ResultsCache cache = new
ResultsCache
();
48
ResultsCache cache = new
ResultsCache
();
68
ResultsCache cache = new
ResultsCache
();
95
ResultsCache cache = new
ResultsCache
();
105
ResultsCache cache = new
ResultsCache
();
124
ResultsCache cache = new
ResultsCache
();
143
ResultsCache cache = new
ResultsCache
();
155
ResultsCache cache = new
ResultsCache
();
178
ResultsCache cache = new
ResultsCache
();
235
ResultsCache cache =
new
();
316
ResultsCache cache =
new
();
345
ResultsCache cache = new
ResultsCache
();
362
yield return new[] { new
ResultsCache
() };
370
var resultsCache = new
ResultsCache
();
378
var resultsCache2 = new
ResultsCache
();
395
var copy = new
ResultsCache
(TranslationHelpers.GetReadTranslator());
417
var resultsCache = new
ResultsCache
();
426
var copy = new
ResultsCache
(TranslationHelpers.GetReadTranslator());
BackEnd\Scheduler_Tests.cs (1)
604
ResultsCache overrideResultsCache =
new
();
BackEnd\TargetBuilder_Tests.cs (1)
1779
_resultsCache = new
ResultsCache
();
BackEnd\TargetEntry_Tests.cs (1)
1253
_resultsCache = new
ResultsCache
();
BackEnd\TaskBuilder_Tests.cs (1)
1311
_resultsCache = new
ResultsCache
();
47 references to ResultsCache
Microsoft.Build (8)
BackEnd\BuildManager\CacheAggregator.cs (1)
23
private
ResultsCache
_aggregatedResultsCache;
BackEnd\BuildManager\CacheSerialization.cs (4)
41
ResultsCache
resultsCacheToSerialize = null;
58
case
ResultsCache
asResultsCache:
85
var
tempResultsCacheToSerialize = new ResultsCache();
120
ResultsCache
resultsCache = null;
BackEnd\Components\BuildComponentFactoryCollection.cs (1)
62
_componentEntriesByType[BuildComponentType.ResultsCache] = new BuildComponentEntry(BuildComponentType.ResultsCache,
ResultsCache
.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
16
public
ResultsCache
CurrentCache { get; }
BackEnd\Shared\BuildResult.cs (1)
35
/// When modifying serialization/deserialization, bump the version and support previous versions in order to keep <see cref="
ResultsCache
"/> backwards compatible.
Microsoft.Build.Engine.UnitTests (39)
BackEnd\CacheAggregator_Tests.cs (10)
81
var
resultsCache = new ResultsCache();
102
var
resultsCache = new ResultsCache();
131
var
resultsCache = new ResultsCache();
153
var
resultsCache1 = new ResultsCache();
161
var
resultsCache2 = new ResultsCache();
182
var
resultsCache = new ResultsCache();
197
var
resultsCache = new ResultsCache();
216
var
resultsCache1 = new ResultsCache();
228
var
resultsCache2 = new ResultsCache();
244
private void AssertAggregation((ConfigCache configCache,
ResultsCache
resultsCache)[] inputCaches, CacheAggregation aggregation)
BackEnd\CacheSerialization_Tests.cs (3)
43
var
resultsCache = new ResultsCache();
101
(
ResultsCache
)resultsCache,
133
(
ResultsCache
)resultsCache,
BackEnd\MockHost.cs (2)
76
public MockHost(ConfigCache overrideConfigCache = null,
ResultsCache
overrideResultsCache = null)
87
public MockHost(BuildParameters buildParameters, ConfigCache overrideConfigCache = null,
ResultsCache
overrideResultsCache = null)
BackEnd\ResultsCache_Tests.cs (22)
29
ResultsCache
cache = new ResultsCache();
35
ResultsCache
cache = new ResultsCache();
48
ResultsCache
cache = new ResultsCache();
68
ResultsCache
cache = new ResultsCache();
95
ResultsCache
cache = new ResultsCache();
105
ResultsCache
cache = new ResultsCache();
124
ResultsCache
cache = new ResultsCache();
143
ResultsCache
cache = new ResultsCache();
155
ResultsCache
cache = new ResultsCache();
178
ResultsCache
cache = new ResultsCache();
235
ResultsCache
cache = new();
316
ResultsCache
cache = new();
345
ResultsCache
cache = new ResultsCache();
370
var
resultsCache = new ResultsCache();
378
var
resultsCache2 = new ResultsCache();
391
var
resultsCache = (
ResultsCache
)obj;
395
var
copy = new ResultsCache(TranslationHelpers.GetReadTranslator());
417
var
resultsCache = new ResultsCache();
426
var
copy = new ResultsCache(TranslationHelpers.GetReadTranslator());
432
private void CompareResultsCache(
ResultsCache
resultsCache1,
ResultsCache
resultsCache2)
BackEnd\Scheduler_Tests.cs (2)
604
ResultsCache
overrideResultsCache = new();
756
private BuildResult CacheBuildResult(BuildRequest request, string target, WorkUnitResult workUnitResult,
ResultsCache
resultsCache = null)