27 references to ResultsCache
Microsoft.Build (16)
BackEnd\BuildManager\BuildManager.cs (3)
695_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 851_resultsCache = ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache); 3264_componentFactories.ReplaceFactory(BuildComponentType.ResultsCache, new ResultsCacheWithOverride(cacheAggregation.ResultsCache));
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
65_componentEntriesByType[BuildComponentType.ResultsCache] = new BuildComponentEntry(BuildComponentType.ResultsCache, ResultsCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (5)
342IResultsCache cache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 434IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 525IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 881_componentHost.GetComponent(BuildComponentType.ResultsCache) as IResultsCache; 1214IResultsCache 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 (2)
1223var resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache); 1260IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
138IResultsCache resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Components\Scheduler\Scheduler.cs (1)
630_resultsCache = (IResultsCache)_componentHost.GetComponent(BuildComponentType.ResultsCache);
BackEnd\Node\OutOfProcNode.cs (1)
543if (_componentFactories.GetComponent(BuildComponentType.ResultsCache) is IResultsCache resultsCache)
Microsoft.Build.Engine.UnitTests (11)
BackEnd\MockHost.cs (1)
206BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\Scheduler_Tests.cs (2)
612Assert.Null(((ResultsCacheWithOverride)_host.GetComponent(BuildComponentType.ResultsCache)).CurrentCache.GetResultsForConfiguration(1)); 760(_host.GetComponent(BuildComponentType.ResultsCache) as IResultsCache).AddResult(result);
BackEnd\TargetBuilder_Tests.cs (6)
134IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 157IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 190IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1434IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1460IResultsCache resultsCache = (IResultsCache)_host.GetComponent(BuildComponentType.ResultsCache); 1850BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\TargetEntry_Tests.cs (1)
1321BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,
BackEnd\TaskBuilder_Tests.cs (1)
1378BuildComponentType.ResultsCache => (IBuildComponent)_resultsCache,