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