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)
702
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(1, messageEvent));
BackEnd\NodePackets_Tests.cs (3)
38
LogMessagePacket packet = new
LogMessagePacket
(null);
327
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(0, arg));
361
LogMessagePacket packet = new
LogMessagePacket
(new KeyValuePair<int, BuildEventArgs>(0, buildEvent));
19 references to LogMessagePacket
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
642
_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 (3)
980
LogMessagePacket
loggingPacket = (
LogMessagePacket
)packet;
1307
internal void InjectNonSerializedData(
LogMessagePacket
loggingPacket)
Instance\TaskFactories\TaskHostTask.cs (3)
157
(this as INodePacketFactory).RegisterPacketHandler(NodePacketType.LogMessage,
LogMessagePacket
.FactoryForDeserialization, this);
437
HandleLoggedMessage(packet as
LogMessagePacket
);
534
private void HandleLoggedMessage(
LogMessagePacket
logMessagePacket)
Microsoft.Build.Engine.UnitTests (10)
BackEnd\BuildEventArgTransportSink_Tests.cs (2)
69
LogMessagePacket
loggingPacket = packet as
LogMessagePacket
;
BackEnd\LoggingService_Tests.cs (1)
702
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(1, messageEvent));
BackEnd\NodePackets_Tests.cs (7)
38
LogMessagePacket
packet = new LogMessagePacket(null);
327
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, arg));
330
INodePacket tempPacket =
LogMessagePacket
.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()) as
LogMessagePacket
;
332
LogMessagePacket
deserializedPacket = tempPacket as
LogMessagePacket
;
361
LogMessagePacket
packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, buildEvent));