src\msbuild\src\Shared\LogMessagePacketBase.cs (11)
282private BuildEventArgs _buildEvent;
296internal LogMessagePacketBase(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent)
333internal KeyValuePair<int, BuildEventArgs>? NodeBuildEvent
337return new KeyValuePair<int, BuildEventArgs>(_sinkId, _buildEvent);
444/// Every <see cref="BuildEventArgs"/> defines <c>WriteToStream</c> / <c>CreateFromStream</c>, so the
454protected virtual void TranslateAdditionalProperties(ITranslator translator, LoggingEventType eventType, BuildEventArgs buildEvent)
463private BuildEventArgs GetBuildEventArgFromId()
511_ => Assumed.Unreachable<BuildEventArgs>($"Should not get to the default of GetBuildEventArgFromId ID: {_eventType}")
521private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg)
713protected virtual void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator)
851protected virtual BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator)