1 write to _configCache
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
676
_configCache
= (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache);
28 references to _configCache
Microsoft.Build (28)
BackEnd\Components\Scheduler\Scheduler.cs (28)
417
BuildRequestConfiguration config =
_configCache
[result.ConfigurationId];
894
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);
1068
return
_configCache
[request.ConfigurationId].IsTraversal;
1078
IEnumerable<int> nodesByConfigurationCountAscending = _availableNodes.Keys.OrderBy(x => _schedulingData.GetConfigurationsCountByNode(x, excludeTraversals: true,
_configCache
));
1128
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1170
System.IO.FileInfo f = new FileInfo(
_configCache
[unscheduledRequest.BuildRequest.ConfigurationId].ProjectFullPath);
1351
configurationCountsByNode[availableNodeId] = _schedulingData.GetConfigurationsCountByNode(availableNodeId, true /* excludeTraversals */,
_configCache
);
1420
BuildRequestConfiguration config =
_configCache
[request.BuildRequest.ConfigurationId];
1727
BuildRequestConfiguration configuration =
_configCache
[parentRequest.BuildRequest.ConfigurationId];
1757
TraceScheduler("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));
1823
_configCache
.HasConfiguration(request.ConfigurationId),
1826
var config =
_configCache
[request.ConfigurationId];
2011
BuildRequestConfiguration config =
_configCache
[request.ConfigurationId];
2029
|| SkipNonexistentTargetsIfExistentTargetsHaveResults(request,
_configCache
, _resultsCache))
2036
string projectFullPath =
_configCache
[request.ConfigurationId].ProjectFullPath;
2037
string parentProjectFullPath = GetParentConfigurationId(request,
_configCache
, _schedulingData).ProjectFullPath;
2055
BuildRequestConfiguration requestConfig =
_configCache
[request.ConfigurationId];
2056
BuildRequestConfiguration parentConfig = GetParentConfigurationId(request,
_configCache
, _schedulingData);
2165
if (
_configCache
is not ConfigCacheWithOverride configCacheWithOverride
2199
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2256
BuildRequestConfiguration configuration =
_configCache
[request.ConfigurationId];
2640
_configCache
[request.BuildRequest.ConfigurationId].ProjectFullPath,
2843
file.WriteLine("Config {0} Node {1} TV: {2} File {3}", config, _schedulingData.GetAssignedNodeForRequestConfiguration(config),
_configCache
[config].ToolsVersion,
_configCache
[config].ProjectFullPath);
2844
foreach (ProjectPropertyInstance property in
_configCache
[config].GlobalProperties)
2942
_configCache
[buildRequest.ConfigurationId].ProjectFullPath,
2951
SchedulingPlan plan = new SchedulingPlan(
_configCache
, _schedulingData);
2960
_schedulingPlan = new SchedulingPlan(
_configCache
, _schedulingData);