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)
136
return MaxNodeCount -
_nodeContexts
.Count;
186
ErrorUtilities.VerifyThrow(
_nodeContexts
.ContainsKey(hostContext), "Invalid host context specified: {0}.", hostContext.ToString());
188
SendData(
_nodeContexts
[hostContext], packet);
200
lock (
_nodeContexts
)
202
contextsToShutDown = new List<NodeContext>(
_nodeContexts
.Values);
490
if (!
_nodeContexts
.ContainsKey(hostContext))
502
NodeContext context =
_nodeContexts
[hostContext];
535
ErrorUtilities.ThrowInternalError("All allowable nodes already created ({0}).",
_nodeContexts
.Count);
573
_nodeContexts
[(HandshakeOptions)context.NodeId] = context;
590
lock (
_nodeContexts
)
592
_nodeContexts
.Remove((HandshakeOptions)nodeId);
612
return
_nodeContexts
.Values.Select(context => context.Process);