1 write to _nodeIdToPacketHandler
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
230
_nodeIdToPacketHandler
= new Dictionary<int, INodePacketHandler>();
4 references to _nodeIdToPacketHandler
Microsoft.Build (4)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (4)
319
if (
_nodeIdToPacketHandler
.TryGetValue(node, out INodePacketHandler packetHandler))
504
_nodeIdToPacketHandler
[(int)hostContext] = handler;
519
ErrorUtilities.VerifyThrow(_nodeIdToPacketFactory.ContainsKey((int)hostContext) &&
_nodeIdToPacketHandler
.ContainsKey((int)hostContext), "Why are we trying to disconnect from a context that we already disconnected from? Did we call DisconnectFromHost twice?");
522
_nodeIdToPacketHandler
.Remove((int)hostContext);