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