1 write to _nodeContexts
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
228_nodeContexts = new Dictionary<HandshakeOptions, NodeContext>();
12 references to _nodeContexts
Microsoft.Build (12)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (12)
136return MaxNodeCount - _nodeContexts.Count; 186ErrorUtilities.VerifyThrow(_nodeContexts.ContainsKey(hostContext), "Invalid host context specified: {0}.", hostContext.ToString()); 188SendData(_nodeContexts[hostContext], packet); 200lock (_nodeContexts) 202contextsToShutDown = new List<NodeContext>(_nodeContexts.Values); 500if (!_nodeContexts.ContainsKey(hostContext)) 512NodeContext context = _nodeContexts[hostContext]; 545ErrorUtilities.ThrowInternalError("All allowable nodes already created ({0}).", _nodeContexts.Count); 583_nodeContexts[(HandshakeOptions)context.NodeId] = context; 600lock (_nodeContexts) 602_nodeContexts.Remove((HandshakeOptions)nodeId); 622return _nodeContexts.Values.Select(context => context.Process);