27 instantiations of ConfigCache
Microsoft.Build (5)
BackEnd\BuildManager\CacheAggregator.cs (1)
45_aggregatedConfigCache = new ConfigCache();
BackEnd\BuildManager\CacheSerialization.cs (1)
78var tempConfigCacheToSerialize = new ConfigCache();
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
599ConfigCache unresolvedConfigCache = new ConfigCache();
BackEnd\Components\Caching\ConfigCache.cs (1)
392return new ConfigCache();
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
21CurrentCache = new ConfigCache();
Microsoft.Build.Engine.UnitTests (22)
BackEnd\CacheAggregator_Tests.cs (10)
68aggregator.Add(new ConfigCache(), new ResultsCache()); 77var configCache = new ConfigCache(); 99var configCache = new ConfigCache(); 128var configCache = new ConfigCache(); 150var configCache1 = new ConfigCache(); 158var configCache2 = new ConfigCache(); 180var configCache = new ConfigCache(); 194var configCache = new ConfigCache(); 212var configCache1 = new ConfigCache(); 224var configCache2 = new ConfigCache();
BackEnd\CacheSerialization_Tests.cs (1)
24var configCache = new ConfigCache();
BackEnd\ConfigCache_Tests.cs (6)
23yield return new[] { new ConfigCache() }; 30var configCache1 = new ConfigCache(); 40var configCache2 = new ConfigCache(); 52var configCache3 = new ConfigCache(); 63yield return new[] { new ConfigCache() }; 71var configCache = new ConfigCache();
BackEnd\MockHost.cs (1)
100_configCache = new ConfigCache();
BackEnd\Scheduler_Tests.cs (1)
603ConfigCache overrideConfigCache = new();
BackEnd\TargetBuilder_Tests.cs (1)
1741_configCache = new ConfigCache();
BackEnd\TargetEntry_Tests.cs (1)
1245_configCache = new ConfigCache();
BackEnd\TaskBuilder_Tests.cs (1)
1294_configCache = new ConfigCache();
46 references to ConfigCache
Microsoft.Build (8)
BackEnd\BuildManager\CacheAggregator.cs (1)
22private ConfigCache _aggregatedConfigCache;
BackEnd\BuildManager\CacheSerialization.cs (4)
40ConfigCache configCacheToSerialize = null; 45case ConfigCache asConfigCache: 78var tempConfigCacheToSerialize = new ConfigCache(); 119ConfigCache configCache = null;
BackEnd\Components\BuildComponentFactoryCollection.cs (1)
61_componentEntriesByType[BuildComponentType.ConfigCache] = new BuildComponentEntry(BuildComponentType.ConfigCache, ConfigCache.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
599ConfigCache unresolvedConfigCache = new ConfigCache();
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
16public ConfigCache CurrentCache { get; }
Microsoft.Build.Engine.UnitTests (38)
BackEnd\CacheAggregator_Tests.cs (10)
77var configCache = new ConfigCache(); 99var configCache = new ConfigCache(); 128var configCache = new ConfigCache(); 150var configCache1 = new ConfigCache(); 158var configCache2 = new ConfigCache(); 180var configCache = new ConfigCache(); 194var configCache = new ConfigCache(); 212var configCache1 = new ConfigCache(); 224var configCache2 = new ConfigCache(); 244private void AssertAggregation((ConfigCache configCache, ResultsCache resultsCache)[] inputCaches, CacheAggregation aggregation)
BackEnd\CacheSerialization_Tests.cs (3)
24var configCache = new ConfigCache(); 100(ConfigCache)configCache, 132(ConfigCache)configCache,
BackEnd\ConfigCache_Tests.cs (9)
30var configCache1 = new ConfigCache(); 40var configCache2 = new ConfigCache(); 52var configCache3 = new ConfigCache(); 71var configCache = new ConfigCache(); 95var initial = (ConfigCache)obj; 99ConfigCache copy = null; 125Assert.Throws<InternalErrorException>(() => ((ConfigCache)obj).GetSmallestConfigId()); 132Assert.Equal(1, ((ConfigCache)obj).GetSmallestConfigId());
BackEnd\LoggingService_Tests.cs (2)
966ConfigCache configCache = host.GetComponent(BuildComponentType.ConfigCache) as ConfigCache;
BackEnd\LoggingServicesLogMethod_Tests.cs (10)
837ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 863ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 902ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 943ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache); 1414ConfigCache cache = (ConfigCache)componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (2)
76public MockHost(ConfigCache overrideConfigCache = null, ResultsCache overrideResultsCache = null) 87public MockHost(BuildParameters buildParameters, ConfigCache overrideConfigCache = null, ResultsCache overrideResultsCache = null)
BackEnd\Scheduler_Tests.cs (2)
603ConfigCache overrideConfigCache = new(); 731private void CreateConfiguration(int configId, string projectFullPath, ConfigCache configCache = null)