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)
432
BuildRequestConfiguration config =
_configCache
[result.ConfigurationId];
909
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);
1083
return
_configCache
[request.ConfigurationId].IsTraversal;
1093
IEnumerable<int> nodesByConfigurationCountAscending = _availableNodes.Keys.OrderBy(x => _schedulingData.GetConfigurationsCountByNode(x, excludeTraversals: true,
_configCache
));
1143
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1185
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1366
configurationCountsByNode[availableNodeId] = _schedulingData.GetConfigurationsCountByNode(availableNodeId, true /* excludeTraversals */,
_configCache
);
1435
BuildRequestConfiguration config =
_configCache
[request.BuildRequest.ConfigurationId];
1742
BuildRequestConfiguration configuration =
_configCache
[parentRequest.BuildRequest.ConfigurationId];
1772
TraceScheduler($"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))}");
1838
_configCache
.HasConfiguration(request.ConfigurationId),
1841
var config =
_configCache
[request.ConfigurationId];
2026
BuildRequestConfiguration config =
_configCache
[request.ConfigurationId];
2044
|| SkipNonexistentTargetsIfExistentTargetsHaveResults(request,
_configCache
, _resultsCache))
2051
string projectFullPath =
_configCache
[request.ConfigurationId].ProjectFullPath;
2052
string parentProjectFullPath = GetParentConfigurationId(request,
_configCache
, _schedulingData).ProjectFullPath;
2070
BuildRequestConfiguration requestConfig =
_configCache
[request.ConfigurationId];
2071
BuildRequestConfiguration parentConfig = GetParentConfigurationId(request,
_configCache
, _schedulingData);
2180
if (
_configCache
is not ConfigCacheWithOverride configCacheWithOverride
2214
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2267
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2651
_configCache
[request.BuildRequest.ConfigurationId].ProjectFullPath,
2892
file.WriteLine("Config {0} Node {1} TV: {2} File {3}", config, _schedulingData.GetAssignedNodeForRequestConfiguration(config),
_configCache
[config].ToolsVersion,
_configCache
[config].ProjectFullPath);
2893
foreach (ProjectPropertyInstance property in
_configCache
[config].GlobalProperties)
2991
_configCache
[buildRequest.ConfigurationId].ProjectFullPath,
3000
SchedulingPlan plan = new SchedulingPlan(
_configCache
, _schedulingData);
3009
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);