40 instantiations of ResultsCache
Microsoft.Build (4)
BackEnd\BuildManager\CacheAggregator.cs (1)
46_aggregatedResultsCache = new ResultsCache();
BackEnd\BuildManager\CacheSerialization.cs (1)
85var tempResultsCacheToSerialize = new ResultsCache();
BackEnd\Components\Caching\ResultsCache.cs (1)
303return new ResultsCache();
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
22CurrentCache = new ResultsCache();
Microsoft.Build.Engine.UnitTests (36)
BackEnd\CacheAggregator_Tests.cs (10)
68aggregator.Add(new ConfigCache(), new ResultsCache()); 81var resultsCache = new ResultsCache(); 102var resultsCache = new ResultsCache(); 131var resultsCache = new ResultsCache(); 153var resultsCache1 = new ResultsCache(); 161var resultsCache2 = new ResultsCache(); 182var resultsCache = new ResultsCache(); 197var resultsCache = new ResultsCache(); 216var resultsCache1 = new ResultsCache(); 228var resultsCache2 = new ResultsCache();
BackEnd\CacheSerialization_Tests.cs (1)
43var 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)
29ResultsCache cache = new ResultsCache(); 35ResultsCache cache = new ResultsCache(); 48ResultsCache cache = new ResultsCache(); 68ResultsCache cache = new ResultsCache(); 95ResultsCache cache = new ResultsCache(); 105ResultsCache cache = new ResultsCache(); 124ResultsCache cache = new ResultsCache(); 143ResultsCache cache = new ResultsCache(); 155ResultsCache cache = new ResultsCache(); 178ResultsCache cache = new ResultsCache(); 235ResultsCache cache = new(); 316ResultsCache cache = new(); 345ResultsCache cache = new ResultsCache(); 362yield return new[] { new ResultsCache() }; 370var resultsCache = new ResultsCache(); 378var resultsCache2 = new ResultsCache(); 395var copy = new ResultsCache(TranslationHelpers.GetReadTranslator()); 417var resultsCache = new ResultsCache(); 426var copy = new ResultsCache(TranslationHelpers.GetReadTranslator());
BackEnd\Scheduler_Tests.cs (1)
604ResultsCache 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)
23private ResultsCache _aggregatedResultsCache;
BackEnd\BuildManager\CacheSerialization.cs (4)
41ResultsCache resultsCacheToSerialize = null; 58case ResultsCache asResultsCache: 85var tempResultsCacheToSerialize = new ResultsCache(); 120ResultsCache 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)
16public 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)
81var resultsCache = new ResultsCache(); 102var resultsCache = new ResultsCache(); 131var resultsCache = new ResultsCache(); 153var resultsCache1 = new ResultsCache(); 161var resultsCache2 = new ResultsCache(); 182var resultsCache = new ResultsCache(); 197var resultsCache = new ResultsCache(); 216var resultsCache1 = new ResultsCache(); 228var resultsCache2 = new ResultsCache(); 244private void AssertAggregation((ConfigCache configCache, ResultsCache resultsCache)[] inputCaches, CacheAggregation aggregation)
BackEnd\CacheSerialization_Tests.cs (3)
43var resultsCache = new ResultsCache(); 101(ResultsCache)resultsCache, 133(ResultsCache)resultsCache,
BackEnd\MockHost.cs (2)
76public MockHost(ConfigCache overrideConfigCache = null, ResultsCache overrideResultsCache = null) 87public MockHost(BuildParameters buildParameters, ConfigCache overrideConfigCache = null, ResultsCache overrideResultsCache = null)
BackEnd\ResultsCache_Tests.cs (22)
29ResultsCache cache = new ResultsCache(); 35ResultsCache cache = new ResultsCache(); 48ResultsCache cache = new ResultsCache(); 68ResultsCache cache = new ResultsCache(); 95ResultsCache cache = new ResultsCache(); 105ResultsCache cache = new ResultsCache(); 124ResultsCache cache = new ResultsCache(); 143ResultsCache cache = new ResultsCache(); 155ResultsCache cache = new ResultsCache(); 178ResultsCache cache = new ResultsCache(); 235ResultsCache cache = new(); 316ResultsCache cache = new(); 345ResultsCache cache = new ResultsCache(); 370var resultsCache = new ResultsCache(); 378var resultsCache2 = new ResultsCache(); 391var resultsCache = (ResultsCache)obj; 395var copy = new ResultsCache(TranslationHelpers.GetReadTranslator()); 417var resultsCache = new ResultsCache(); 426var copy = new ResultsCache(TranslationHelpers.GetReadTranslator()); 432private void CompareResultsCache(ResultsCache resultsCache1, ResultsCache resultsCache2)
BackEnd\Scheduler_Tests.cs (2)
604ResultsCache overrideResultsCache = new(); 756private BuildResult CacheBuildResult(BuildRequest request, string target, WorkUnitResult workUnitResult, ResultsCache resultsCache = null)