1 write to _nodeContexts
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
209
_nodeContexts
= new ConcurrentDictionary<int, NodeContext>();
7 references to _nodeContexts
Microsoft.Build (7)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (7)
172
ErrorUtilities.VerifyThrow(
_nodeContexts
.TryGetValue(nodeId, out NodeContext context), "Invalid host context specified: {0}.", nodeId);
184
List<NodeContext> contextsToShutDown = [..
_nodeContexts
.Values];
578
if (!
_nodeContexts
.ContainsKey(taskHostNodeId))
590
NodeContext context =
_nodeContexts
[taskHostNodeId];
690
_nodeContexts
[context.NodeId] = context;
707
_nodeContexts
.TryRemove(nodeId, out _);
724
public IEnumerable<Process> GetProcesses() =>
_nodeContexts
.Values.Select(context => context.Process);