1 write to _activeNodes
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
318
_activeNodes
= new HashSet<int>();
11 references to _activeNodes
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (11)
1232
Assumed.Zero(
_activeNodes
.Count, "All nodes not yet shut down.");
1503
activeNodeCount =
_activeNodes
?.Count;
1538
ActiveNodeCount =
_activeNodes
.Count,
1574
if (
_activeNodes
.Count > 0)
1576
telemetry.ActiveNodeIds = string.Join(",",
_activeNodes
);
1581
var nodeDetails = new List<string>(
_activeNodes
.Count);
1582
foreach (int nodeId in
_activeNodes
)
3038
Assumed.True(
_activeNodes
.Contains(node), $"Unexpected shutdown from node {node} which shouldn't exist.");
3039
_activeNodes
.Remove(node);
3140
if (
_activeNodes
.Count == 0)
3229
_activeNodes
.Add(node.NodeId);