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)
602
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)
68
aggregator.Add(new
ConfigCache
(), new ResultsCache());
77
var configCache = new
ConfigCache
();
99
var configCache = new
ConfigCache
();
128
var configCache = new
ConfigCache
();
150
var configCache1 = new
ConfigCache
();
158
var configCache2 = new
ConfigCache
();
180
var configCache = new
ConfigCache
();
194
var configCache = new
ConfigCache
();
212
var configCache1 = new
ConfigCache
();
224
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)
100
_configCache = new
ConfigCache
();
BackEnd\Scheduler_Tests.cs (1)
603
ConfigCache overrideConfigCache =
new
();
BackEnd\TargetBuilder_Tests.cs (1)
1774
_configCache = new
ConfigCache
();
BackEnd\TargetEntry_Tests.cs (1)
1248
_configCache = new
ConfigCache
();
BackEnd\TaskBuilder_Tests.cs (1)
1306
_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)
61
_componentEntriesByType[BuildComponentType.ConfigCache] = new BuildComponentEntry(BuildComponentType.ConfigCache,
ConfigCache
.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
602
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)
77
var
configCache = new ConfigCache();
99
var
configCache = new ConfigCache();
128
var
configCache = new ConfigCache();
150
var
configCache1 = new ConfigCache();
158
var
configCache2 = new ConfigCache();
180
var
configCache = new ConfigCache();
194
var
configCache = new ConfigCache();
212
var
configCache1 = new ConfigCache();
224
var
configCache2 = new ConfigCache();
244
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)
966
ConfigCache
configCache = host.GetComponent(BuildComponentType.ConfigCache) as
ConfigCache
;
BackEnd\LoggingServicesLogMethod_Tests.cs (10)
839
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
865
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
904
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
945
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
1418
ConfigCache
cache = (
ConfigCache
)componentHost.GetComponent(BuildComponentType.ConfigCache);
BackEnd\MockHost.cs (2)
76
public MockHost(
ConfigCache
overrideConfigCache = null, ResultsCache overrideResultsCache = null)
87
public MockHost(BuildParameters buildParameters,
ConfigCache
overrideConfigCache = null, ResultsCache overrideResultsCache = null)
BackEnd\Scheduler_Tests.cs (2)
603
ConfigCache
overrideConfigCache = new();
732
private void CreateConfiguration(int configId, string projectFullPath,
ConfigCache
configCache = null)