1 write to _activeNodes
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
305
_activeNodes
= new HashSet<int>();
11 references to _activeNodes
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (11)
1091
Assumed.Zero(
_activeNodes
.Count, "All nodes not yet shut down.");
1266
activeNodeCount =
_activeNodes
?.Count;
1301
ActiveNodeCount =
_activeNodes
.Count,
1337
if (
_activeNodes
.Count > 0)
1339
telemetry.ActiveNodeIds = string.Join(",",
_activeNodes
);
1344
var nodeDetails = new List<string>(
_activeNodes
.Count);
1345
foreach (int nodeId in
_activeNodes
)
2763
Assumed.True(
_activeNodes
.Contains(node), $"Unexpected shutdown from node {node} which shouldn't exist.");
2764
_activeNodes
.Remove(node);
2853
if (
_activeNodes
.Count == 0)
2938
_activeNodes
.Add(node.NodeId);