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
10 instantiations of BuildErrorEventArgs
Microsoft.Build (4)
BackEnd\Components\Logging\LoggingService.cs (1)
1883buildEventArgs = new BuildErrorEventArgs(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
165new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
46return new(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1171e = new BuildErrorEventArgs(
Microsoft.Build.Framework (3)
BackEnd\LogMessagePacketBase.cs (2)
203LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 687new BuildErrorEventArgs(
Utilities\TaskLoggingHelper.cs (1)
676BuildErrorEventArgs e = new(
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
155 var data = new BuildErrorEventArgs(
MSBuild (2)
OutOfProcTaskAppDomainWrapperBase.cs (1)
561=> buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
2060BuildErrorEventArgs error = new(
59 references to BuildErrorEventArgs
Microsoft.Build (30)
BackEnd\Components\Logging\EventSourceSink.cs (2)
289case BuildErrorEventArgs buildErrorEvent: 344case BuildErrorEventArgs:
BackEnd\Components\Logging\LoggingService.cs (3)
1327BuildErrorEventArgs errorEvent = null; 1334else if ((errorEvent = buildEvent as BuildErrorEventArgs) != null && errorEvent.BuildEventContext != null && errorEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1903if (buildEventArgs is BuildErrorEventArgs errorEvent)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
135BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(buildEventContext, subcategory, errorCode, helpKeyword, location, message); 164BuildErrorEventArgs buildEvent =
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
413public void LogErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs e) 474private static BuildWarningEventArgs CreateWarningFromError(BuildErrorEventArgs error)
BackEnd\Shared\EventsCreatorHelper.cs (1)
34public static BuildErrorEventArgs CreateErrorEventFromText(
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
57BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(_eventContext, subcategory, errorCode, helpKeyword, location, message);
Instance\TaskFactories\TaskHostTask.cs (1)
784case BuildErrorEventArgs error:
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 (4)
250case BuildErrorEventArgs buildError: return Write(buildError); 334BuildErrorEventArgs => BinaryLogRecordKind.Error, 574private BinaryLogRecordKind Write(BuildErrorEventArgs e) 1091(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)
575private 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)
1436private static Uri? GenerateLinkForError(BuildErrorEventArgs e) 1456private void ErrorRaised(object sender, BuildErrorEventArgs e) 1741private string FormatErrorMessage(BuildErrorEventArgs e, string? message, string indent, bool requireFileAndLinePortion = true) => FormatEventMessage(
Microsoft.Build.Framework (12)
BackEnd\LoggingEventType.cs (1)
30/// Event is a <see cref="BuildErrorEventArgs"/>.
BackEnd\LogMessagePacketBase.cs (5)
444else if (eventType == typeof(BuildErrorEventArgs)) 488WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 529private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 663private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 686BuildErrorEventArgs buildEvent =
IBuildEngine.cs (1)
22void LogErrorEvent(BuildErrorEventArgs e);
IEventSource.cs (1)
18public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e);
Utilities\EventArgsFormatting.cs (3)
47internal static string FormatEventMessage(BuildErrorEventArgs e, bool showProjectFile, string projectConfigurationDescription) 91internal static string FormatEventMessage(BuildErrorEventArgs e) 108internal static string FormatEventMessage(BuildErrorEventArgs e, bool showProjectFile)
Utilities\TaskLoggingHelper.cs (1)
676BuildErrorEventArgs e = new(
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\Node\OutOfProcRarClient.cs (1)
97case BuildErrorEventArgs error:
AssemblyDependency\Node\RarNodeBuildEngine.cs (1)
103public void LogErrorEvent(BuildErrorEventArgs e) => LogEvent(e);
Microsoft.Build.Utilities.Core (3)
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);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (1)
40private void OnErrorRaised(object sender, MSB.Framework.BuildErrorEventArgs e)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
51private void OnErrorRaised(object sender, BuildErrorEventArgs e) =>
Microsoft.Maui.Resizetizer (2)
AsyncTask.cs (2)
155 var data = new BuildErrorEventArgs( 298 LogInternal<BuildErrorEventArgs>(errorMessageQueue, (e) =>
Microsoft.NET.ProjectData.Tasks (1)
ProjectDataBuildCompletionLogger.cs (1)
116 case BuildErrorEventArgs error:
MSBuild (2)
OutOfProcTaskHostNode.cs (2)
478public void LogErrorEvent(BuildErrorEventArgs e) 2060BuildErrorEventArgs error = new(
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 (2)
ConsoleLoggingQueue.cs (2)
126void IBuildEngine.LogErrorEvent(BuildErrorEventArgs e) => OnErrorRaised(this, e); 159private void OnErrorRaised(object sender, BuildErrorEventArgs e) => Enqueue(e);