25 implementations of Type
Microsoft.Build (23)
BackEnd\Components\BuildRequestEngine\BuildRequestConfigurationResponse.cs (1)
72public NodePacketType Type => NodePacketType.BuildRequestConfigurationResponse;
BackEnd\Components\FileAccesses\FileAccessReport.cs (1)
18public NodePacketType Type => NodePacketType.FileAccessReport;
BackEnd\Components\FileAccesses\ProcessReport.cs (1)
18public NodePacketType Type => NodePacketType.ProcessReport;
BackEnd\Components\SdkResolution\SdkResolverRequest.cs (1)
67public NodePacketType Type => NodePacketType.ResolveSdkRequest;
BackEnd\Components\SdkResolution\SdkResult.cs (1)
97public NodePacketType Type => NodePacketType.ResolveSdkResponse;
BackEnd\Node\NodeConfiguration.cs (1)
144public NodePacketType Type
BackEnd\Node\ServerNodeBuildCancel.cs (1)
8public NodePacketType Type => NodePacketType.ServerNodeBuildCancel;
BackEnd\Node\ServerNodeBuildCommand.cs (1)
32public NodePacketType Type => NodePacketType.ServerNodeBuildCommand;
BackEnd\Node\ServerNodeBuildResult.cs (1)
15public NodePacketType Type => NodePacketType.ServerNodeBuildResult;
BackEnd\Node\ServerNodeConsoleWrite.cs (1)
14public NodePacketType Type => NodePacketType.ServerNodeConsoleWrite;
BackEnd\Shared\BuildRequest.cs (1)
317public NodePacketType Type
BackEnd\Shared\BuildRequestBlocker.cs (1)
142public NodePacketType Type
BackEnd\Shared\BuildRequestConfiguration.cs (1)
581public NodePacketType Type => NodePacketType.BuildRequestConfiguration;
BackEnd\Shared\BuildRequestUnblocker.cs (1)
73public NodePacketType Type
BackEnd\Shared\BuildResult.cs (1)
429NodePacketType INodePacket.Type
BackEnd\Shared\ResourceRequest.cs (1)
68public NodePacketType Type => NodePacketType.ResourceRequest;
BackEnd\Shared\ResourceResponse.cs (1)
43public NodePacketType Type => NodePacketType.ResourceResponse;
LogMessagePacketBase.cs (1)
369public NodePacketType Type
NodeBuildComplete.cs (1)
51public NodePacketType Type
NodeShutdown.cs (1)
77public NodePacketType Type
TaskHostConfiguration.cs (1)
374public NodePacketType Type
TaskHostTaskCancelled.cs (1)
24public NodePacketType Type
TaskHostTaskComplete.cs (1)
218public NodePacketType Type
Microsoft.Build.Engine.UnitTests (2)
BackEnd\LoggingService_Tests.cs (1)
1511public NodePacketType Type
BackEnd\NodeEndpointInProc_Tests.cs (1)
131public NodePacketType Type
24 references to Type
Microsoft.Build (22)
BackEnd\BuildManager\BuildManager.cs (4)
1595if (_shuttingDown && packet.Type != NodePacketType.NodeShutdown) 1601switch (packet.Type) 1640ErrorUtilities.ThrowInternalError("Unexpected packet received by BuildManager: {0}", packet.Type); 3079ErrorUtilities.ThrowInternalError("Incorrect packet type: {0} should have been {1}", packet.Type, expectedType);
BackEnd\Client\MSBuildClient.cs (4)
427CommunicationsUtilities.Trace("Command packet of type '{0}' sent...", packet.Type); 431CommunicationsUtilities.Trace("Failed to send command packet of type '{0}' to server: {1}", packet?.Type.ToString() ?? "Unknown", ex); 571switch (packet.Type) 656memoryStream.WriteByte((byte)packet.Type);
BackEnd\Components\Communications\NodeManager.cs (1)
265if (packet.Type == NodePacketType.NodeShutdown)
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
309if (packet.Type == NodePacketType.NodeShutdown)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
762writeStream.WriteByte((byte)packet.Type);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
325ErrorUtilities.VerifyThrow(packet.Type == NodePacketType.NodeShutdown, "We should only ever handle packets of type NodeShutdown -- everything else should only come in when there's an active task");
BackEnd\Components\Logging\LoggingService.cs (2)
966if (packet.Type != NodePacketType.LogMessage) 968ErrorUtilities.ThrowInternalError("Expected packet type \"{0}\" but instead got packet type \"{1}\".", nameof(NodePacketType.LogMessage), packet.Type.ToString());
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
58switch (packet.Type)
BackEnd\Node\InProcNode.cs (1)
370switch (packet.Type)
BackEnd\Node\OutOfProcNode.cs (1)
616switch (packet.Type)
BackEnd\Node\OutOfProcServerNode.cs (1)
298switch (packet.Type)
Instance\TaskFactories\TaskHostTask.cs (2)
411Debug.WriteLine("[TaskHostTask] Handling packet {0} at {1}", packet.Type, DateTime.Now); 414switch (packet.Type)
NodeEndpointOutOfProcBase.cs (1)
634packetStream.WriteByte((byte)packet.Type);
NodePacketFactory.cs (1)
66PacketFactoryRecord record = _packetFactories[packet.Type];
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BuildResult_Tests.cs (2)
119Assert.Equal(NodePacketType.BuildResult, ((INodePacket)result).Type); 326Assert.Equal(NodePacketType.BuildResult, (result as INodePacket).Type);