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)
1672buildEventArgs = new BuildErrorEventArgs(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
164new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
43new BuildErrorEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
889e = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
508LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 978new BuildErrorEventArgs(
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Tasks.Core (2)
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
508LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 978new 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)
1793BuildErrorEventArgs error = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (2)
508LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 978new BuildErrorEventArgs(
71 references to BuildErrorEventArgs
Microsoft.Build (37)
BackEnd\Components\Logging\EventSourceSink.cs (2)
289case BuildErrorEventArgs buildErrorEvent: 344case BuildErrorEventArgs:
BackEnd\Components\Logging\LoggingService.cs (3)
1242BuildErrorEventArgs errorEvent = null; 1249else if ((errorEvent = buildEvent as BuildErrorEventArgs) != null && errorEvent.BuildEventContext != null && errorEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1692if (buildEventArgs is BuildErrorEventArgs errorEvent)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
134BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(buildEventContext, subcategoryResourceName, errorCode, helpKeyword, file, message); 163BuildErrorEventArgs 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)
671this.BuildEngine.LogErrorEvent((BuildErrorEventArgs)logMessagePacket.NodeBuildEvent.Value.Value); 685if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Instance\TaskFactoryEngineContext.cs (1)
199public void LogErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs e)
Logging\BaseConsoleLogger.cs (2)
1060public abstract void ErrorHandler(object sender, BuildErrorEventArgs e); 1173internal List<BuildErrorEventArgs> errorList;
Logging\BinaryLogger\BuildEventArgsWriter.cs (3)
212case BuildErrorEventArgs buildError: return Write(buildError); 497private BinaryLogRecordKind Write(BuildErrorEventArgs e) 882(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>(); 395foreach (BuildErrorEventArgs error in errorList) 512if (errorWarningEvent is BuildErrorEventArgs buildErrorEventArgs) 1045public 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)
1424private static Uri? GenerateLinkForError(BuildErrorEventArgs e) 1444private void ErrorRaised(object sender, BuildErrorEventArgs e) 1677private string FormatErrorMessage(BuildErrorEventArgs e, string indent, bool requireFileAndLinePortion = true) => FormatEventMessage(
src\msbuild\src\Shared\LogMessagePacketBase.cs (6)
38/// Event is a <see cref="BuildErrorEventArgs"/>. 729else if (eventType == typeof(BuildErrorEventArgs)) 773WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 816private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 954private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 977BuildErrorEventArgs 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"/>. 729else if (eventType == typeof(BuildErrorEventArgs)) 773WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 816private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 954private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 977BuildErrorEventArgs 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)
40private void OnErrorRaised(object sender, MSB.Framework.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) 1793BuildErrorEventArgs error = new BuildErrorEventArgs(
src\msbuild\src\Shared\LogMessagePacketBase.cs (6)
38/// Event is a <see cref="BuildErrorEventArgs"/>. 729else if (eventType == typeof(BuildErrorEventArgs)) 773WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 816private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 954private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 977BuildErrorEventArgs 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);