26 references to ResultsCache
Microsoft.Build (15)
BackEnd\BuildManager\BuildManager.cs (3)
686_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 833_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 3204_componentFactories.ReplaceFactory(BuildComponentType.ResultsCache, new ResultsCacheWithOverride(cacheAggregation.ResultsCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
62_componentEntriesByType[BuildComponentType.ResultsCache] = new BuildComponentEntry(BuildComponentType.ResultsCache, ResultsCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
339IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 431IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 522IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 878_componentHost.GetComponent(BuildComponentType.ResultsCache) as IResultsCache; 1211IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Caching\ResultsCache.cs (1)
302ErrorUtilities.VerifyThrow(componentType == BuildComponentType.ResultsCache, "Cannot create components of type {0}", componentType);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1234var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
133IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Scheduler\Scheduler.cs (1)
631_resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Node\OutOfProcNode.cs (1)
541if (_componentFactories.GetComponent(BuildComponentType.ResultsCache) is IResultsCache resultsCache)
Microsoft.Build.Engine.UnitTests (11)
BackEnd\MockHost.cs (1)
200BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\Scheduler_Tests.cs (2)
613Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.ResultsCache)).CurrentCache.GetResultsForConfiguration(1)); 761(_host.GetComponent(BuildComponentType.ResultsCache) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (6)
135IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 158IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 191IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1435IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1461IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1851BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\TargetEntry_Tests.cs (1)
1322BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\TaskBuilder_Tests.cs (1)
1379BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,