1 write to _configCache
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
691_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
28 references to _configCache
Microsoft.Build (28)
BackEnd\Components\Scheduler\Scheduler.cs (28)
432BuildRequestConfiguration config = _configCache[result.ConfigurationId]; 909_schedulingPlan = new SchedulingPlan(_configCache, _schedulingData); 1083return _configCache[request.ConfigurationId].IsTraversal; 1093IEnumerable<int> nodesByConfigurationCountAscending = _availableNodes.Keys.OrderBy(x => _schedulingData.GetConfigurationsCountByNode(x, excludeTraversals: true, _configCache)); 1143System.IO.FileInfo f = new FileInfo(_configCache[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath); 1185System.IO.FileInfo f = new FileInfo(_configCache[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath); 1366configurationCountsByNode[availableNodeId] = _schedulingData.GetConfigurationsCountByNode(availableNodeId, true /* excludeTraversals */, _configCache); 1435BuildRequestConfiguration config = _configCache[request.BuildRequest.ConfigurationId]; 1740BuildRequestConfiguration configuration = _configCache[parentRequest.BuildRequest.ConfigurationId]; 1770TraceScheduler($"Received request {request.GlobalRequestId} (node request {request.NodeRequestId}) with parent {request.ParentGlobalRequestId} from node {nodeForResults} for project {_configCache![request.ConfigurationId].ProjectFullPath} with targets {(request.Targets.Count == 0 ? "default" : string.Join(";", request.Targets))}"); 1835Assumed.True(_configCache.HasConfiguration(request.ConfigurationId), "A request should have a configuration if it makes it this far in the build process."); 1837var config = _configCache[request.ConfigurationId]; 2022BuildRequestConfiguration config = _configCache[request.ConfigurationId]; 2040|| SkipNonexistentTargetsIfExistentTargetsHaveResults(request, _configCache, _resultsCache)) 2047string projectFullPath = _configCache[request.ConfigurationId].ProjectFullPath; 2048string parentProjectFullPath = GetParentConfigurationId(request, _configCache, _schedulingData).ProjectFullPath; 2066BuildRequestConfiguration requestConfig = _configCache[request.ConfigurationId]; 2067BuildRequestConfiguration parentConfig = GetParentConfigurationId(request, _configCache, _schedulingData); 2174if (_configCache is not ConfigCacheWithOverride configCacheWithOverride 2208BuildRequestConfiguration configuration = _configCache[request.ConfigurationId]; 2261BuildRequestConfiguration configuration = _configCache[request.ConfigurationId]; 2645_configCache[request.BuildRequest.ConfigurationId].ProjectFullPath, 2886file.WriteLine("Config {0} Node {1} TV: {2} File {3}", config, _schedulingData.GetAssignedNodeForRequestConfiguration(config), _configCache[config].ToolsVersion, _configCache[config].ProjectFullPath); 2887foreach (ProjectPropertyInstance property in _configCache[config].GlobalProperties) 2985_configCache[buildRequest.ConfigurationId].ProjectFullPath, 2994SchedulingPlan plan = new SchedulingPlan(_configCache, _schedulingData); 3003_schedulingPlan = new SchedulingPlan(_configCache, _schedulingData);