1 write to CurrentCache
Microsoft.Build (1)
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
20
CurrentCache
= new ConfigCache();
14 references to CurrentCache
Microsoft.Build (14)
BackEnd\BuildManager\CacheSerialization.cs (1)
44
ConfigCacheWithOverride configCacheWithOverride => configCacheWithOverride.
CurrentCache
,
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (13)
25
CurrentCache
.InitializeComponent(host);
30
CurrentCache
.ShutdownComponent();
35
return
CurrentCache
.GetEnumerator();
59
return
CurrentCache
[configId];
66
CurrentCache
.AddConfiguration(config);
82
return
CurrentCache
.GetMatchingConfiguration(config);
99
return
CurrentCache
.GetMatchingConfiguration(configMetadata);
105
return _override.GetMatchingConfiguration(configMetadata, callback, loadProject) ??
CurrentCache
.GetMatchingConfiguration(configMetadata, callback, loadProject);
120
return overrideHasConfiguration ||
CurrentCache
.HasConfiguration(configId);
130
CurrentCache
.ClearConfigurations();
135
return
CurrentCache
.ClearNonExplicitlyLoadedConfigurations();
140
return
CurrentCache
.IsConfigCacheSizeLargerThanThreshold();
145
return
CurrentCache
.WriteConfigurationsToDisk();