1 write to _configCache
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
692
_configCache
= (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
30 references to _configCache
Microsoft.Build (30)
BackEnd\Components\Scheduler\Scheduler.cs (30)
433
BuildRequestConfiguration config =
_configCache
[result.ConfigurationId];
910
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);
1084
return
_configCache
[request.ConfigurationId].IsTraversal;
1094
IEnumerable<int> nodesByConfigurationCountAscending = _availableNodes.Keys.OrderBy(x => _schedulingData.GetConfigurationsCountByNode(x, excludeTraversals: true,
_configCache
));
1144
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1186
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1367
configurationCountsByNode[availableNodeId] = _schedulingData.GetConfigurationsCountByNode(availableNodeId, true /* excludeTraversals */,
_configCache
);
1436
BuildRequestConfiguration config =
_configCache
[request.BuildRequest.ConfigurationId];
1741
BuildRequestConfiguration configuration =
_configCache
[parentRequest.BuildRequest.ConfigurationId];
1771
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))}");
1836
Assumed.True(
_configCache
.HasConfiguration(request.ConfigurationId), "A request should have a configuration if it makes it this far in the build process.");
1838
var config =
_configCache
[request.ConfigurationId];
2023
BuildRequestConfiguration config =
_configCache
[request.ConfigurationId];
2046
BuildRequestConfiguration requestConfig =
_configCache
[request.ConfigurationId];
2047
BuildRequestConfiguration parentConfig =
_configCache
[parentRequest.BuildRequest.ConfigurationId];
2069
|| SkipNonexistentTargetsIfExistentTargetsHaveResults(request,
_configCache
, _resultsCache))
2076
string projectFullPath =
_configCache
[request.ConfigurationId].ProjectFullPath;
2077
string parentProjectFullPath = GetParentConfigurationId(request,
_configCache
, _schedulingData).ProjectFullPath;
2095
BuildRequestConfiguration requestConfig =
_configCache
[request.ConfigurationId];
2096
BuildRequestConfiguration parentConfig = GetParentConfigurationId(request,
_configCache
, _schedulingData);
2203
if (
_configCache
is not ConfigCacheWithOverride configCacheWithOverride
2237
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2293
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2677
_configCache
[request.BuildRequest.ConfigurationId].ProjectFullPath,
2918
file.WriteLine("Config {0} Node {1} TV: {2} File {3}", config, _schedulingData.GetAssignedNodeForRequestConfiguration(config),
_configCache
[config].ToolsVersion,
_configCache
[config].ProjectFullPath);
2919
foreach (ProjectPropertyInstance property in
_configCache
[config].GlobalProperties)
3017
_configCache
[buildRequest.ConfigurationId].ProjectFullPath,
3026
SchedulingPlan plan = new SchedulingPlan(
_configCache
, _schedulingData);
3035
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);