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)
172ErrorUtilities.VerifyThrow(_nodeContexts.TryGetValue(nodeId, out NodeContext context), "Invalid host context specified: {0}.", nodeId); 184List<NodeContext> contextsToShutDown = [.. _nodeContexts.Values]; 578if (!_nodeContexts.ContainsKey(taskHostNodeId)) 590NodeContext context = _nodeContexts[taskHostNodeId]; 690_nodeContexts[context.NodeId] = context; 707_nodeContexts.TryRemove(nodeId, out _); 724public IEnumerable<Process> GetProcesses() => _nodeContexts.Values.Select(context => context.Process);