27 instantiations of ConfigCache
Microsoft.Build (5)
BackEnd\BuildManager\CacheAggregator.cs (1)
45
_aggregatedConfigCache = new
ConfigCache
();
BackEnd\BuildManager\CacheSerialization.cs (1)
78
var tempConfigCacheToSerialize = new
ConfigCache
();
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
608
ConfigCache unresolvedConfigCache = new
ConfigCache
();
BackEnd\Components\Caching\ConfigCache.cs (1)
392
return new
ConfigCache
();
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
21
CurrentCache = new
ConfigCache
();
Microsoft.Build.Engine.UnitTests (22)
BackEnd\CacheAggregator_Tests.cs (10)
66
aggregator.Add(new
ConfigCache
(), new ResultsCache());
75
var configCache = new
ConfigCache
();
97
var configCache = new
ConfigCache
();
126
var configCache = new
ConfigCache
();
148
var configCache1 = new
ConfigCache
();
156
var configCache2 = new
ConfigCache
();
178
var configCache = new
ConfigCache
();
192
var configCache = new
ConfigCache
();
210
var configCache1 = new
ConfigCache
();
222
var configCache2 = new
ConfigCache
();
BackEnd\CacheSerialization_Tests.cs (1)
24
var configCache = new
ConfigCache
();
BackEnd\ConfigCache_Tests.cs (6)
23
yield return new[] { new
ConfigCache
() };
30
var configCache1 = new
ConfigCache
();
40
var configCache2 = new
ConfigCache
();
52
var configCache3 = new
ConfigCache
();
63
yield return new[] { new
ConfigCache
() };
71
var configCache = new
ConfigCache
();
BackEnd\MockHost.cs (1)
103
_configCache = new
ConfigCache
();
BackEnd\Scheduler_Tests.cs (1)
602
ConfigCache overrideConfigCache =
new
();
BackEnd\TargetBuilder_Tests.cs (1)
1773
_configCache = new
ConfigCache
();
BackEnd\TargetEntry_Tests.cs (1)
1247
_configCache = new
ConfigCache
();
BackEnd\TaskBuilder_Tests.cs (1)
1219
_configCache = new
ConfigCache
();
46 references to ConfigCache
Microsoft.Build (8)
BackEnd\BuildManager\CacheAggregator.cs (1)
22
private
ConfigCache
_aggregatedConfigCache;
BackEnd\BuildManager\CacheSerialization.cs (4)
40
ConfigCache
configCacheToSerialize = null;
45
case
ConfigCache
asConfigCache:
78
var
tempConfigCacheToSerialize = new ConfigCache();
119
ConfigCache
configCache = null;
BackEnd\Components\BuildComponentFactoryCollection.cs (1)
64
_componentEntriesByType[BuildComponentType.ConfigCache] = new BuildComponentEntry(BuildComponentType.ConfigCache,
ConfigCache
.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
608
ConfigCache
unresolvedConfigCache = new ConfigCache();
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
16
public
ConfigCache
CurrentCache { get; }
Microsoft.Build.Engine.UnitTests (38)
BackEnd\CacheAggregator_Tests.cs (10)
75
var
configCache = new ConfigCache();
97
var
configCache = new ConfigCache();
126
var
configCache = new ConfigCache();
148
var
configCache1 = new ConfigCache();
156
var
configCache2 = new ConfigCache();
178
var
configCache = new ConfigCache();
192
var
configCache = new ConfigCache();
210
var
configCache1 = new ConfigCache();
222
var
configCache2 = new ConfigCache();
242
private void AssertAggregation((
ConfigCache
configCache, ResultsCache resultsCache)[] inputCaches, CacheAggregation aggregation)
BackEnd\CacheSerialization_Tests.cs (3)
24
var
configCache = new ConfigCache();
100
(
ConfigCache
)configCache,
132
(
ConfigCache
)configCache,
BackEnd\ConfigCache_Tests.cs (9)
30
var
configCache1 = new ConfigCache();
40
var
configCache2 = new ConfigCache();
52
var
configCache3 = new ConfigCache();
71
var
configCache = new ConfigCache();
95
var
initial = (
ConfigCache
)obj;
99
ConfigCache
copy = null;
125
Assert.Throws<InternalErrorException>(() => ((
ConfigCache
)obj).GetSmallestConfigId());
132
Assert.Equal(1, ((
ConfigCache
)obj).GetSmallestConfigId());
BackEnd\LoggingService_Tests.cs (2)
965
ConfigCache
configCache = host.GetComponent(BuildComponentType.ConfigCache) as
ConfigCache
;
BackEnd\LoggingServicesLogMethod_Tests.cs (10)
838
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
864
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
903
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
944
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
1417
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (2)
79
public MockHost(
ConfigCache
overrideConfigCache = null, ResultsCache overrideResultsCache = null)
90
public MockHost(BuildParameters buildParameters,
ConfigCache
overrideConfigCache = null, ResultsCache overrideResultsCache = null)
BackEnd\Scheduler_Tests.cs (2)
602
ConfigCache
overrideConfigCache = new();
731
private void CreateConfiguration(int configId, string projectFullPath,
ConfigCache
configCache = null)