2 types derived from BuildErrorEventArgs
Microsoft.Build.Framework (2)
BuildCheck\BuildCheckEventArgs.cs (1)
182internal sealed class BuildCheckResultError : BuildErrorEventArgs
ExtendedBuildErrorEventArgs.cs (1)
15public sealed class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs
15 instantiations of BuildErrorEventArgs
Microsoft.Build (7)
BackEnd\Components\Logging\LoggingService.cs (1)
1676buildEventArgs = new BuildErrorEventArgs(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
163new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
43new BuildErrorEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
888e = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new BuildErrorEventArgs(
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Tasks.Core (2)
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new BuildErrorEventArgs(
Microsoft.Build.Utilities.Core (1)
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
155 var data = new BuildErrorEventArgs(
MSBuild (4)
OutOfProcTaskAppDomainWrapperBase.cs (1)
443buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1798BuildErrorEventArgs error = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new BuildErrorEventArgs(
72 references to BuildErrorEventArgs
Microsoft.Build (37)
BackEnd\Components\Logging\EventSourceSink.cs (2)
290case BuildErrorEventArgs buildErrorEvent: 345case BuildErrorEventArgs:
BackEnd\Components\Logging\LoggingService.cs (3)
1244BuildErrorEventArgs errorEvent = null; 1251else if ((errorEvent = buildEvent as BuildErrorEventArgs) != null && errorEvent.BuildEventContext != null && errorEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1696if (buildEventArgs is BuildErrorEventArgs errorEvent)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
133BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(buildEventContext, subcategoryResourceName, errorCode, helpKeyword, file, message); 162BuildErrorEventArgs buildEvent =
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
409public void LogErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs e)
BackEnd\Shared\EventsCreatorHelper.cs (2)
29public static BuildErrorEventArgs CreateErrorEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword, BuildEventFileInfo file, string message) 42BuildErrorEventArgs buildEvent =
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
56BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(_eventContext, subcategoryResourceName, errorCode, helpKeyword, file, message);
Instance\TaskFactories\TaskHostTask.cs (2)
673this.BuildEngine.LogErrorEvent((BuildErrorEventArgs)logMessagePacket.NodeBuildEvent.Value.Value); 687if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Instance\TaskFactoryEngineContext.cs (1)
199public void LogErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs e)
Logging\BaseConsoleLogger.cs (2)
1061public abstract void ErrorHandler(object sender, BuildErrorEventArgs e); 1174internal List<BuildErrorEventArgs> errorList;
Logging\BinaryLogger\BuildEventArgsWriter.cs (3)
212case BuildErrorEventArgs buildError: return Write(buildError); 472private BinaryLogRecordKind Write(BuildErrorEventArgs e) 857(BuildMessageEventArgs or BuildWarningEventArgs or BuildErrorEventArgs))
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
157else if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Logging\ConsoleLogger.cs (1)
440public void ErrorHandler(object sender, BuildErrorEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (4)
190errorList = new List<BuildErrorEventArgs>(); 377foreach (BuildErrorEventArgs error in errorList) 494if (errorWarningEvent is BuildErrorEventArgs buildErrorEventArgs) 1027public override void ErrorHandler(object sender, BuildErrorEventArgs e)
Logging\ReusableLogger.cs (1)
553private void ErrorRaisedHandler(object sender, BuildErrorEventArgs e) => ErrorRaised?.Invoke(sender, e);
Logging\SimpleErrorLogger.cs (1)
56private void HandleErrorEvent(object sender, BuildErrorEventArgs e)
Logging\TerminalLogger\TerminalLogger.cs (3)
1400private static Uri? GenerateLinkForError(BuildErrorEventArgs e) 1420private void ErrorRaised(object sender, BuildErrorEventArgs e) 1653private string FormatErrorMessage(BuildErrorEventArgs e, string indent, bool requireFileAndLinePortion = true) => FormatEventMessage(
src\msbuild\src\Shared\LogMessagePacketBase.cs (6)
38/// Event is a <see cref="BuildErrorEventArgs"/>. 721else if (eventType == typeof(BuildErrorEventArgs)) 765WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 808private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 946private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 969BuildErrorEventArgs buildEvent =
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Framework (5)
IBuildEngine.cs (1)
22void LogErrorEvent(BuildErrorEventArgs e);
IEventSource.cs (1)
18public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e);
Utilities\EventArgsFormatting.cs (3)
26internal static string FormatEventMessage(BuildErrorEventArgs e, bool showProjectFile, string projectConfigurationDescription) 70internal static string FormatEventMessage(BuildErrorEventArgs e) 87internal static string FormatEventMessage(BuildErrorEventArgs e, bool showProjectFile)
Microsoft.Build.Tasks.Core (8)
AssemblyDependency\Node\OutOfProcRarClient.cs (1)
80rarTask.BuildEngine.LogErrorEvent((BuildErrorEventArgs)buildEvent);
AssemblyDependency\Node\RarNodeBuildEngine.cs (1)
103public void LogErrorEvent(BuildErrorEventArgs e) => LogEvent(e);
src\msbuild\src\Shared\LogMessagePacketBase.cs (6)
38/// Event is a <see cref="BuildErrorEventArgs"/>. 721else if (eventType == typeof(BuildErrorEventArgs)) 765WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 808private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 946private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 969BuildErrorEventArgs buildEvent =
Microsoft.Build.Utilities.Core (4)
Logger.cs (1)
48public virtual string FormatErrorEvent(BuildErrorEventArgs args) => EventArgsFormatting.FormatEventMessage(args);
MuxLogger.cs (2)
670private void RaiseErrorEvent(object sender, BuildErrorEventArgs buildEvent) 1209bool eventIsErrorOrWarning = (buildEvent is BuildWarningEventArgs) || (buildEvent is BuildErrorEventArgs);
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (1)
25private void OnErrorRaised(object sender, MSB.Framework.BuildErrorEventArgs e)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
194private void OnErrorRaised(object sender, BuildErrorEventArgs e) =>
Microsoft.Maui.Resizetizer (2)
AsyncTask.cs (2)
155 var data = new BuildErrorEventArgs( 298 LogInternal<BuildErrorEventArgs>(errorMessageQueue, (e) =>
MSBuild (8)
OutOfProcTaskHostNode.cs (2)
425public void LogErrorEvent(BuildErrorEventArgs e) 1798BuildErrorEventArgs error = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (6)
38/// Event is a <see cref="BuildErrorEventArgs"/>. 721else if (eventType == typeof(BuildErrorEventArgs)) 765WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 808private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 946private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 969BuildErrorEventArgs buildEvent =
NuGet.Build.Tasks (3)
ConsoleOutLogItem.cs (3)
74/// Implicitly converts a <see cref="BuildErrorEventArgs" /> object to a <see cref="ConsoleOutLogItem" /> object. 76/// <param name="buildErrorEventArgs">The <see cref="BuildErrorEventArgs" /> object to convert.</param> 77public static implicit operator ConsoleOutLogItem(BuildErrorEventArgs buildErrorEventArgs)
NuGet.Build.Tasks.Console (3)
ConsoleLoggingQueue.cs (3)
126void IBuildEngine.LogErrorEvent(BuildErrorEventArgs e) => OnErrorRaised(this, e); 158/// <param name="e">The <see cref="BuildErrorEventArgs" /> containing the details of the error event.</param> 159private void OnErrorRaised(object sender, BuildErrorEventArgs e) => Enqueue(e);