1 write to _configCache
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
677_configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
28 references to _configCache
Microsoft.Build (28)
BackEnd\Components\Scheduler\Scheduler.cs (28)
418BuildRequestConfiguration config = _configCache[result.ConfigurationId]; 895_schedulingPlan = new SchedulingPlan(_configCache, _schedulingData); 1069return _configCache[request.ConfigurationId].IsTraversal; 1079IEnumerable<int> nodesByConfigurationCountAscending = _availableNodes.Keys.OrderBy(x => _schedulingData.GetConfigurationsCountByNode(x, excludeTraversals: true, _configCache)); 1129System.IO.FileInfo f = new FileInfo(_configCache[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath); 1171System.IO.FileInfo f = new FileInfo(_configCache[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath); 1352configurationCountsByNode[availableNodeId] = _schedulingData.GetConfigurationsCountByNode(availableNodeId, true /* excludeTraversals */, _configCache); 1421BuildRequestConfiguration config = _configCache[request.BuildRequest.ConfigurationId]; 1728BuildRequestConfiguration configuration = _configCache[parentRequest.BuildRequest.ConfigurationId]; 1758TraceScheduler("Received request {0} (node request {1}) with parent {2} from node {3} for project {4} with targets {5}", request.GlobalRequestId, request.NodeRequestId, request.ParentGlobalRequestId, nodeForResults, _configCache![request.ConfigurationId].ProjectFullPath, request.Targets.Count == 0 ? "default" : string.Join(";", request.Targets)); 1824_configCache.HasConfiguration(request.ConfigurationId), 1827var config = _configCache[request.ConfigurationId]; 2012BuildRequestConfiguration config = _configCache[request.ConfigurationId]; 2030|| SkipNonexistentTargetsIfExistentTargetsHaveResults(request, _configCache, _resultsCache)) 2037string projectFullPath = _configCache[request.ConfigurationId].ProjectFullPath; 2038string parentProjectFullPath = GetParentConfigurationId(request, _configCache, _schedulingData).ProjectFullPath; 2056BuildRequestConfiguration requestConfig = _configCache[request.ConfigurationId]; 2057BuildRequestConfiguration parentConfig = GetParentConfigurationId(request, _configCache, _schedulingData); 2166if (_configCache is not ConfigCacheWithOverride configCacheWithOverride 2200BuildRequestConfiguration configuration = _configCache[request.ConfigurationId]; 2257BuildRequestConfiguration configuration = _configCache[request.ConfigurationId]; 2641_configCache[request.BuildRequest.ConfigurationId].ProjectFullPath, 2844file.WriteLine("Config {0} Node {1} TV: {2} File {3}", config, _schedulingData.GetAssignedNodeForRequestConfiguration(config), _configCache[config].ToolsVersion, _configCache[config].ProjectFullPath); 2845foreach (ProjectPropertyInstance property in _configCache[config].GlobalProperties) 2943_configCache[buildRequest.ConfigurationId].ProjectFullPath, 2952SchedulingPlan plan = new SchedulingPlan(_configCache, _schedulingData); 2961_schedulingPlan = new SchedulingPlan(_configCache, _schedulingData);