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