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