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); 490if (!_nodeContexts.ContainsKey(hostContext)) 502NodeContext context = _nodeContexts[hostContext]; 535ErrorUtilities.ThrowInternalError("All allowable nodes already created ({0}).", _nodeContexts.Count); 573_nodeContexts[(HandshakeOptions)context.NodeId] = context; 590lock (_nodeContexts) 592_nodeContexts.Remove((HandshakeOptions)nodeId); 612return _nodeContexts.Values.Select(context => context.Process);