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)
329
if (
_nodeIdToPacketHandler
.TryGetValue(node, out INodePacketHandler packetHandler))
514
_nodeIdToPacketHandler
[(int)hostContext] = handler;
529
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?");
532
_nodeIdToPacketHandler
.Remove((int)hostContext);