1 write to _nodeIdToPacketFactory
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
234
_nodeIdToPacketFactory
= new Dictionary<int, INodePacketFactory>();
6 references to _nodeIdToPacketFactory
Microsoft.Build (6)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (6)
285
if (
_nodeIdToPacketFactory
.TryGetValue(nodeId, out INodePacketFactory nodePacketFactory))
312
if (
_nodeIdToPacketFactory
.TryGetValue(nodeId, out INodePacketFactory nodePacketFactory))
540
_nodeIdToPacketFactory
[(int)hostContext] = factory;
556
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?");
558
_nodeIdToPacketFactory
.Remove((int)hostContext);
568
ErrorUtilities.VerifyThrow(!
_nodeIdToPacketFactory
.ContainsKey((int)hostContext), "We should not already have a factory for this context! Did we forget to call DisconnectFromHost somewhere?");