7 types derived from BuildEventArgs
Microsoft.Build.Engine.UnitTests (1)
BackEnd\EventSourceSink_Tests.cs (1)
338internal sealed class GenericBuildEventArgs : BuildEventArgs
Microsoft.Build.Framework (4)
BuildCheck\BuildCheckEventArgs.cs (1)
15internal abstract class BuildCheckEventArgs : BuildEventArgs
LazyFormattedBuildEventArgs.cs (1)
15public class LazyFormattedBuildEventArgs : BuildEventArgs
Telemetry\WorkerNodeTelemetryEventArgs.cs (1)
10internal sealed class WorkerNodeTelemetryEventArgs(IWorkerNodeTelemetryData workerNodeTelemetryData) : BuildEventArgs
TelemetryEventArgs.cs (1)
14public sealed class TelemetryEventArgs : BuildEventArgs
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (1)
20internal sealed class GenericBuildEventArg : BuildEventArgs
EventArgs_Tests.cs (1)
127internal sealed class GenericBuildEventArgs : BuildEventArgs
270 references to BuildEventArgs
Microsoft.Build (142)
BackEnd\BuildManager\BuildManager.cs (5)
206private readonly Dictionary<int, BuildEventArgs> _projectStartedEvents; 311_projectStartedEvents = new Dictionary<int, BuildEventArgs>(); 1082foreach (KeyValuePair<int, BuildEventArgs> projectStartedEvent in _projectStartedEvents) 2714BuildEventContext buildEventContext = _projectStartedEvents.TryGetValue(result.SubmissionId, out BuildEventArgs? buildEventArgs) 3123if (_projectStartedEvents.TryGetValue(e.BuildEventContext!.SubmissionId, out var originalArgs))
BackEnd\Components\Communications\LogMessagePacket.cs (4)
36internal LogMessagePacket(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent) 69protected override void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 85protected override BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator) 496protected override void TranslateAdditionalProperties(ITranslator translator, LoggingEventType eventType, BuildEventArgs buildEvent)
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (3)
125public void Consume(BuildEventArgs buildEvent) 136public void Consume(BuildEventArgs buildEvent, int sinkId) 150LogMessagePacket logPacket = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(sinkId, buildEvent));
BackEnd\Components\Logging\CentralForwardingLogger.cs (1)
116private void EventSource_AnyEventRaised(object sender, BuildEventArgs buildEvent)
BackEnd\Components\Logging\EventRedirectorToSink.cs (1)
52void IEventRedirector.ForwardEvent(BuildEventArgs buildEvent)
BackEnd\Components\Logging\EventSourceSink.cs (3)
222public void Consume(BuildEventArgs buildEvent, int sinkId) 235public void Consume(BuildEventArgs buildEvent) 404private void RaiseAnyEvent(BuildEventArgs buildEvent)
BackEnd\Components\Logging\ILoggingService.cs (3)
394void LogBuildEvent(BuildEventArgs buildEvent); 722void Consume(BuildEventArgs buildEvent, int sinkId); 727void Consume(BuildEventArgs buildEvent);
BackEnd\Components\Logging\LoggingContext.cs (1)
288internal void LogBuildEvent(BuildEventArgs buildEvent)
BackEnd\Components\Logging\LoggingService.cs (13)
1241public void LogBuildEvent(BuildEventArgs buildEvent) 1404private static WarningsConfigKey GetWarningsConfigKey(BuildEventArgs buildEventArgs) 1598BuildEventArgs buildEventArgs = loggingEvent as BuildEventArgs ?? (loggingEvent as KeyValuePair<int, BuildEventArgs>?)?.Value; 1731if (loggingEvent is BuildEventArgs) 1735else if (loggingEvent is KeyValuePair<int, BuildEventArgs> loggingEventKeyValuePair) 1740loggingEventKeyValuePair = new KeyValuePair<int, BuildEventArgs>(loggingEventKeyValuePair.Key, buildEventArgs); 1750private void RouteBuildEvent(KeyValuePair<int, BuildEventArgs> nodeEvent) 1769private void RouteBuildEvent(BuildEventArgs eventArg) 1948private void TryRaiseProjectStartedEvent(BuildEventArgs args) 1965private void TryRaiseProjectFinishedEvent(BuildEventArgs args) 1982private string GetAndVerifyProjectFileFromContext(BuildEventArgs eventArgs, bool allowCacheMiss)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
52BuildEventArgs.ResourceStringFormatter = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword;
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
1117internal bool IsEventSerializable(BuildEventArgs e)
BackEnd\Node\OutOfProcNode.cs (1)
606BuildEventArgs buildEvent = logMessage.NodeBuildEvent.Value.Value;
BuildCheck\API\BuildCheckResult.cs (1)
30internal BuildEventArgs ToEventArgs(CheckResultSeverity severity)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (6)
18private Dictionary<Type, Action<BuildEventArgs>> _eventHandlers; 19private readonly Dictionary<Type, Action<BuildEventArgs>> _eventHandlersFull; 20private readonly Dictionary<Type, Action<BuildEventArgs>> _eventHandlersRestore; 55public void HandleBuildEvent(BuildEventArgs e) 57if (_eventHandlers.TryGetValue(e.GetType(), out Action<BuildEventArgs>? handler)) 182private BuildEventContext GetBuildEventContext(BuildEventArgs e) => e.BuildEventContext
BuildCheck\Infrastructure\BuildCheckConnectorLogger.cs (1)
50private void EventSource_AnyEventRaised(object sender, BuildEventArgs e)
BuildCheck\Infrastructure\BuildCheckForwardingLogger.cs (1)
52public void EventSource_AnyEventRaised(object sender, BuildEventArgs buildEvent)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
650foreach (BuildEventArgs deferredArgs in list) 660private readonly Dictionary<int, List<BuildEventArgs>> _deferredEvalDiagnostics = new(); 677void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 792void ReportResult(BuildEventArgs result, ICheckContext checkContext);
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
30public void DispatchBuildEvent(BuildEventArgs buildEvent)
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
25public void DispatchBuildEvent(BuildEventArgs buildEvent)
BuildCheck\Infrastructure\CheckContext\ICheckContext.cs (2)
26/// Dispatch a <see cref="BuildEventArgs"/>. 28void DispatchBuildEvent(BuildEventArgs buildEvent);
BuildCheck\Infrastructure\CheckWrapper.cs (1)
158BuildEventArgs eventArgs = result.ToEventArgs(config.Severity);
Errors\InternalLoggerException.cs (6)
86BuildEventArgs e, 117e = (BuildEventArgs)info.GetValue("e", typeof(BuildEventArgs)); 187public BuildEventArgs BuildEventArgs 242BuildEventArgs e, 257private BuildEventArgs e;
Instance\TaskFactories\TaskHostTask.cs (1)
660BuildEventArgs buildEvent = logMessagePacket.NodeBuildEvent.Value.Value;
Instance\TaskFactoryEngineContext.cs (1)
382internal bool IsEventSerializable(BuildEventArgs e)
Logging\BinaryLogger\BinaryLogger.cs (4)
576private void EventSource_AnyEventRaised(object sender, BuildEventArgs e) 581private void Write(BuildEventArgs e) 603private static bool DoNotWriteToBinlog(BuildEventArgs e) 608private void CollectImports(BuildEventArgs e)
Logging\BinaryLogger\BuildEventArgsReader.cs (40)
60typeof(BuildEventArgs).GetField("threadId", BindingFlags.Instance | BindingFlags.NonPublic); 62typeof(BuildEventArgs).GetField("senderName", BindingFlags.Instance | BindingFlags.NonPublic); 67/// <param name="binaryReader">The <see cref="BinaryReader"/> to read <see cref="BuildEventArgs"/> from.</param> 209/// The next <see cref="BuildEventArgs"/>. 212public BuildEventArgs? Read() 215BuildEventArgs? result = null; 299private BuildEventArgs? ReadBuildEventArgs(BinaryLogRecordKind recordKind) 522private BuildEventArgs ReadProjectImportedEventArgs() 553private BuildEventArgs ReadTargetSkippedEventArgs() 608private BuildEventArgs ReadBuildStartedEventArgs() 621private BuildEventArgs ReadBuildFinishedEventArgs() 635private BuildEventArgs ReadBuildSubmissionStartedEventArgs() 658private BuildEventArgs ReadProjectEvaluationStartedEventArgs() 675private BuildEventArgs ReadProjectEvaluationFinishedEventArgs() 733private BuildEventArgs ReadProjectStartedEventArgs() 777private BuildEventArgs ReadProjectFinishedEventArgs() 793private BuildEventArgs ReadTargetStartedEventArgs() 816private BuildEventArgs ReadTargetFinishedEventArgs() 838private BuildEventArgs ReadTaskStartedEventArgs() 860private BuildEventArgs ReadTaskFinishedEventArgs() 880private BuildEventArgs ReadBuildErrorEventArgs() 885BuildEventArgs e; 932private BuildEventArgs ReadBuildWarningEventArgs() 937BuildEventArgs e; 984private BuildEventArgs ReadBuildMessageEventArgs() 988BuildEventArgs e; 1038private BuildEventArgs ReadTaskCommandLineEventArgs() 1054private BuildEventArgs ReadTaskParameterEventArgs() 1080private BuildEventArgs ReadCriticalBuildMessageEventArgs() 1084BuildEventArgs e; 1130private BuildEventArgs ReadEnvironmentVariableReadEventArgs() 1145BuildEventArgs e = new EnvironmentVariableReadEventArgs( 1156private BuildEventArgs ReadResponseFileUsedEventArgs() 1166private BuildEventArgs ReadPropertyReassignmentEventArgs() 1192private BuildEventArgs ReadUninitializedPropertyReadEventArgs() 1208private BuildEventArgs ReadPropertyInitialValueSetEventArgs() 1257private BuildEventArgs ReadBuildCheckTracingEventArgs() 1270private BuildEventArgs ReadBuildCheckAcquisitionEventArgs() 1281private BuildEventArgs ReadBuildCanceledEventArgs() 1422private void SetCommonFields(BuildEventArgs buildEventArgs, BuildEventArgsFields fields)
Logging\BinaryLogger\BuildEventArgsWriter.cs (5)
144public void Write(BuildEventArgs e) 203private BinaryLogRecordKind WriteCore(BuildEventArgs e) 638private void WriteBuildEventArgsFields(BuildEventArgs e, bool writeMessage = true, bool writeLineAndColumn = false) 650private void WriteBaseFields(BuildEventArgs e, BuildEventArgsFieldFlags flags) 837private static BuildEventArgsFieldFlags GetBuildEventArgsFieldFlags(BuildEventArgs e, bool writeMessage = true)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
107public void Dispatch(BuildEventArgs buildEvent)
Logging\BinaryLogger\ProjectImportsCollector.cs (1)
173BuildEventArgs args = new BuildMessageEventArgs(
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (3)
334private void ForwardEvent(object sender, BuildEventArgs e) 369/// <param name="e">The <see cref="BuildEventArgs"/> to forward.</param> 370protected virtual void ForwardToCentralLogger(BuildEventArgs e)
Logging\NullCentralLogger.cs (1)
54public void AnyEventRaisedHandler(object sender, BuildEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (12)
421private void ShowErrorWarningSummary(IEnumerable<BuildEventArgs> listToProcess) 424var groupByProjectEntryPoint = new Dictionary<ErrorWarningSummaryDictionaryKey, List<BuildEventArgs>>(); 427foreach (BuildEventArgs errorWarningEventArgs in listToProcess) 455errorWarningEventListByTarget = new List<BuildEventArgs>(); 465foreach (KeyValuePair<ErrorWarningSummaryDictionaryKey, List<BuildEventArgs>> valuePair in groupByProjectEntryPoint) 492foreach (BuildEventArgs errorWarningEvent in valuePair.Value) 731/// <param name="e">A <see cref="BuildEventArgs"/> object containing information about the build event.</param> 733internal void WriteProperties(BuildEventArgs e, IEnumerable properties) 798/// <param name="e">A <see cref="BuildEventArgs"/> object containing information about the build event.</param> 800internal void WriteItems(BuildEventArgs e, IEnumerable items) 1012internal string FindLogOutputProperties(BuildEventArgs e) 1362private bool WriteTargetMessagePrefix(BuildEventArgs e, BuildEventContext context, DateTime timeStamp)
Logging\ProfilerLogger.cs (1)
93private void ProjectEvaluationFinishedRaised(object sender, BuildEventArgs e)
Logging\ReusableLogger.cs (1)
578private void AnyEventRaisedHandler(object sender, BuildEventArgs e) => AnyEventRaised?.Invoke(sender, e);
Logging\TerminalLogger\ForwardingTerminalLogger.cs (1)
89public void ForwardEventUnconditionally(object sender, BuildEventArgs e)
LogMessagePacketBase.cs (9)
278private BuildEventArgs _buildEvent; 292internal LogMessagePacketBase(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent) 334internal KeyValuePair<int, BuildEventArgs>? NodeBuildEvent 338return new KeyValuePair<int, BuildEventArgs>(_sinkId, _buildEvent); 460protected virtual void TranslateAdditionalProperties(ITranslator translator, LoggingEventType eventType, BuildEventArgs buildEvent) 500private BuildEventArgs GetBuildEventArgFromId() 558private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg) 742protected virtual void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 880protected virtual BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator)
Microsoft.Build.Engine.UnitTests (65)
BackEnd\CentralForwardingLogger_Tests.cs (4)
130private static EventSourceSink AttachForwardingLoggerAndRedirector(BuildEventArgs buildEventToCheck) 156private BuildEventArgs _expectedEvent; 165public TestEventRedirector(BuildEventArgs eventToExpect) 177public void ForwardEvent(BuildEventArgs buildEvent)
BackEnd\EventRedirectorToSink_Tests.cs (1)
64delegate (object sender, BuildEventArgs buildEvent)
BackEnd\EventSourceSink_Tests.cs (11)
258private static void RaiseExceptionInEventHandler(BuildEventArgs buildEventToRaise, Exception exceptionToRaise) 295private static void VerifyRegisteredHandlers(BuildEventArgs buildEventToRaise, RaiseEventHelper eventHelper, EventHandlerHelper testHandlers) 378private BuildEventArgs _raisedEvent; 384private BuildEventArgs _raisedAnyEvent; 389private BuildEventArgs _raisedStatusEvent; 479public BuildEventArgs RaisedEvent 490public BuildEventArgs RaisedAnyEvent 501public BuildEventArgs RaisedStatusEvent 533private void HandleEvent(BuildEventArgs e) 686private void Source_AnyEventRaised(object sender, BuildEventArgs e) 1001internal void RaiseBuildEvent(BuildEventArgs buildEvent)
BackEnd\LoggingService_Tests.cs (3)
702LogMessagePacket packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(1, messageEvent)); 945BuildEventArgs buildEvent, 1558internal void LoggerEventHandler(object sender, BuildEventArgs eventArgs)
BackEnd\LoggingServicesLogMethod_Tests.cs (6)
1776private void LogandVerifyBuildEvent(BuildEventArgs expectedBuildEvent, ProcessBuildEventHelper loggingService) 1797private BuildEventArgs _processedBuildEvent; 1820public BuildEventArgs ProcessedBuildEvent 1857if (buildEvent is BuildEventArgs buildEventArgs) 1861else if (buildEvent is KeyValuePair<int, BuildEventArgs> kvp) 1882private sealed class EventArgsEqualityComparer<T> : IEqualityComparer<T> where T : BuildEventArgs
BackEnd\MockLoggingService.cs (1)
371public void LogBuildEvent(BuildEventArgs buildEvent)
BackEnd\NodePackets_Tests.cs (8)
261BuildEventArgs[] testArgs = new BuildEventArgs[] 325foreach (BuildEventArgs arg in testArgs) 327LogMessagePacket packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, arg)); 337BuildEventArgs args = packet.NodeBuildEvent?.Value; 338BuildEventArgs desArgs = deserializedPacket?.NodeBuildEvent?.Value; 359private static void VerifyLoggingPacket(BuildEventArgs buildEvent, LoggingEventType logEventType) 361LogMessagePacket packet = new LogMessagePacket(new KeyValuePair<int, BuildEventArgs>(0, buildEvent));
BackEnd\ProjectTelemetry_Tests.cs (1)
170var events = new System.Collections.Generic.List<BuildEventArgs>();
BackEnd\TaskHost_Tests.cs (1)
1278internal void EventSource_AnyEventRaised(object sender, BuildEventArgs e)
BinaryLogger_Tests.cs (1)
289var ev2 = reader2.Read();
BuildEventArgsSerialization_Tests.cs (5)
596var deserialized = buildEventArgsReader.Read(); 1129var deserializedEvent = buildEventArgsReader.Read(); 1180var deserializedEvent = buildEventArgsReader.Read(); 1236var deserializedEvent = buildEventArgsReader.Read(); 1277where T : BuildEventArgs
ConfigureableForwardingLogger_Tests.cs (12)
39ForwardedEvents = new List<BuildEventArgs>(); 42internal List<BuildEventArgs> ForwardedEvents; 44protected override void ForwardToCentralLogger(BuildEventArgs e) 90logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] { _buildStarted }); 93logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 102logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 112logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 128logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 148logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 187logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 217logger.ForwardedEvents.ShouldBe(new BuildEventArgs[] 249logger.ForwardedEvents.ShouldBe(new BuildEventArgs[]
ConsoleLogger_Tests.cs (5)
639BuildEventArgs buildEventArgs; 1148BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1369BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1426BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1446BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", "");
Evaluation\EvaluationLogging_Tests.cs (2)
116foreach (var buildEvent in firstEvaluationLogger.AllBuildEvents) 145AdditionalHandlers = new List<Action<object, BuildEventArgs>>
Telemetry\Telemetry_Tests.cs (2)
529public List<BuildEventArgs> RecordedEvents { get; } = []; 531void ILoggingService.LogBuildEvent(BuildEventArgs buildEvent) => RecordedEvents.Add(buildEvent);
TerminalLogger_Tests.cs (2)
32void IBuildEventSink.Consume(BuildEventArgs buildEvent, int sinkId) => (this as IBuildEventSink).Consume(buildEvent); 34void IBuildEventSink.Consume(BuildEventArgs buildEvent)
Microsoft.Build.Framework (2)
IEventRedirector.cs (1)
16void ForwardEvent(BuildEventArgs buildEvent);
IEventSource.cs (1)
83public delegate void AnyEventHandler(object sender, BuildEventArgs e);
Microsoft.Build.Framework.UnitTests (5)
CrashTelemetry_Tests.cs (2)
1020public ExceptionWithBuildEventArgs(string message, BuildEventArgs buildEventArgs) : base(message) 1025public BuildEventArgs BuildEventArgs { get; }
CustomEventArgSerialization_Tests.cs (3)
113private static void VerifyGenericEventArg(BuildEventArgs genericEvent, BuildEventArgs newGenericEvent) 1036where T : BuildEventArgs, new()
Microsoft.Build.Tasks.Core (15)
AssemblyDependency\Node\OutOfProcRarClient.cs (1)
76BuildEventArgs buildEvent = logMessagePacket.NodeBuildEvent?.Value!;
AssemblyDependency\Node\RarNodeBuildEngine.cs (5)
46private readonly Channel<BuildEventArgs> _eventChannel; 57_eventChannel = Channel.CreateUnbounded<BuildEventArgs>(new UnboundedChannelOptions 130BuildEventArgs buildEventArgs = await _eventChannel.Reader.ReadAsync(cancellationToken).ConfigureAwait(false); 131_buildEvents.EventQueue.Add(new LogMessagePacketBase(new KeyValuePair<int, BuildEventArgs>(0, buildEventArgs))); 165private void LogEvent(BuildEventArgs e)
LogMessagePacketBase.cs (9)
278private BuildEventArgs _buildEvent; 292internal LogMessagePacketBase(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent) 334internal KeyValuePair<int, BuildEventArgs>? NodeBuildEvent 338return new KeyValuePair<int, BuildEventArgs>(_sinkId, _buildEvent); 460protected virtual void TranslateAdditionalProperties(ITranslator translator, LoggingEventType eventType, BuildEventArgs buildEvent) 500private BuildEventArgs GetBuildEventArgFromId() 558private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg) 742protected virtual void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 880protected virtual BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator)
Microsoft.Build.UnitTests.Shared (21)
BuildEventArgsExtension.cs (14)
26public static bool IsEquivalent(this BuildEventArgs args, BuildEventArgs other) 98return ((BuildEventArgs)args).IsEquivalent(other); 113return ((BuildEventArgs)args).IsEquivalent(other); 159return ((BuildEventArgs)args).IsEquivalent(other); 205return ((BuildEventArgs)args).IsEquivalent(other); 226return ((BuildEventArgs)args).IsEquivalent(other); 247return ((BuildEventArgs)args).IsEquivalent(other); 268return ((BuildEventArgs)args).IsEquivalent(other); 289return ((BuildEventArgs)args).IsEquivalent(other); 319return ((BuildEventArgs)args).IsEquivalent(other); 384return ((BuildEventArgs)args).IsEquivalent(other); 410return ((BuildEventArgs)args).IsEquivalent(other); 441return ((BuildEventArgs)args).IsEquivalent(other);
MockLogger.cs (7)
150public List<BuildEventArgs> AllBuildEvents { get; } = new List<BuildEventArgs>(); 257public List<Action<object, BuildEventArgs>> AdditionalHandlers { get; set; } = new List<Action<object, BuildEventArgs>>(); 265public void LoggerEventHandler(object sender, BuildEventArgs eventArgs) 271foreach (Action<object, BuildEventArgs> handler in AdditionalHandlers) 415public void TelemetryEventHandler(object sender, BuildEventArgs eventArgs)
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
1205private void RaiseAnyEvent(object sender, BuildEventArgs buildEvent)
MSBuild (11)
LogMessagePacketBase.cs (9)
278private BuildEventArgs _buildEvent; 292internal LogMessagePacketBase(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent) 334internal KeyValuePair<int, BuildEventArgs>? NodeBuildEvent 338return new KeyValuePair<int, BuildEventArgs>(_sinkId, _buildEvent); 460protected virtual void TranslateAdditionalProperties(ITranslator translator, LoggingEventType eventType, BuildEventArgs buildEvent) 500private BuildEventArgs GetBuildEventArgFromId() 558private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg) 742protected virtual void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 880protected virtual BuildEventArgs ReadEventFromStream(LoggingEventType eventType, ITranslator translator)
OutOfProcTaskHostNode.cs (2)
1733private void SendBuildEvent(BuildEventArgs e) 1749LogMessagePacketBase logMessage = new(new KeyValuePair<int, BuildEventArgs>(_currentConfiguration.NodeId, e));
MSBuildTaskHost (8)
BackEnd\LogMessagePacketBase.cs (6)
155private BuildEventArgs? _buildEvent; 165public LogMessagePacketBase(KeyValuePair<int, BuildEventArgs>? nodeBuildEvent) 321private BuildEventArgs GetBuildEventArgFromId() => _eventType switch 348private LoggingEventType GetLoggingEventId(BuildEventArgs eventArg) 420private void WriteEventToStream(BuildEventArgs buildEvent, LoggingEventType eventType, ITranslator translator) 536private BuildEventArgs? ReadEventFromStream(LoggingEventType eventType, ITranslator translator)
OutOfProcTaskHostNode.cs (2)
846private void SendBuildEvent(BuildEventArgs e) 862LogMessagePacketBase logMessage = new(new KeyValuePair<int, BuildEventArgs>(_currentConfiguration.NodeId, e));