1 write to _activeNodes
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
306
_activeNodes
= new HashSet<int>();
11 references to _activeNodes
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (11)
1135
Assumed.Zero(
_activeNodes
.Count, "All nodes not yet shut down.");
1310
activeNodeCount =
_activeNodes
?.Count;
1345
ActiveNodeCount =
_activeNodes
.Count,
1381
if (
_activeNodes
.Count > 0)
1383
telemetry.ActiveNodeIds = string.Join(",",
_activeNodes
);
1388
var nodeDetails = new List<string>(
_activeNodes
.Count);
1389
foreach (int nodeId in
_activeNodes
)
2823
Assumed.True(
_activeNodes
.Contains(node), $"Unexpected shutdown from node {node} which shouldn't exist.");
2824
_activeNodes
.Remove(node);
2913
if (
_activeNodes
.Count == 0)
2998
_activeNodes
.Add(node.NodeId);