6 instantiations of LogMessagePacket
Microsoft.Build (2)
BackEnd\Components\Communications\LogMessagePacket.cs (1)
43
return new
LogMessagePacket
(translator);
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (1)
150
LogMessagePacket logPacket = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(sinkId, buildEvent));
Microsoft.Build.Engine.UnitTests (4)
BackEnd\LoggingService_Tests.cs (1)
703
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(1, messageEvent));
BackEnd\NodePackets_Tests.cs (3)
37
LogMessagePacket packet = new
LogMessagePacket
(null);
324
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(0, arg));
358
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(0, buildEvent));
20 references to LogMessagePacket
Microsoft.Build (10)
BackEnd\BuildManager\BuildManager.cs (1)
634
_nodeManager!.RegisterPacketHandler(NodePacketType.LogMessage,
LogMessagePacket
.FactoryForDeserialization, loggingService as INodePacketHandler);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
236
(this as INodePacketFactory).RegisterPacketHandler(NodePacketType.LogMessage,
LogMessagePacket
.FactoryForDeserialization, this);
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (1)
150
LogMessagePacket
logPacket = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(sinkId, buildEvent));
BackEnd\Components\Logging\LoggingService.cs (4)
971
LogMessagePacket
loggingPacket = (
LogMessagePacket
)packet;
984
private void WarnOnDeprecatedCustomArgsSerialization(
LogMessagePacket
loggingPacket)
1342
internal void InjectNonSerializedData(
LogMessagePacket
loggingPacket)
Instance\TaskFactories\TaskHostTask.cs (3)
155
(this as INodePacketFactory).RegisterPacketHandler(NodePacketType.LogMessage,
LogMessagePacket
.FactoryForDeserialization, this);
425
HandleLoggedMessage(packet as
LogMessagePacket
);
522
private void HandleLoggedMessage(
LogMessagePacket
logMessagePacket)
Microsoft.Build.Engine.UnitTests (10)
BackEnd\BuildEventArgTransportSink_Tests.cs (2)
71
LogMessagePacket
loggingPacket = packet as
LogMessagePacket
;
BackEnd\LoggingService_Tests.cs (1)
703
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(1, messageEvent));
BackEnd\NodePackets_Tests.cs (7)
37
LogMessagePacket
packet = new LogMessagePacket(null);
324
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, arg));
327
INodePacket tempPacket =
LogMessagePacket
.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()) as
LogMessagePacket
;
329
LogMessagePacket
deserializedPacket = tempPacket as
LogMessagePacket
;
358
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, buildEvent));