5 types derived from BuildErrorEventArgs
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TaskHost_Tests.cs (2)
910internal sealed class MyCustomBuildErrorEventArgs : BuildErrorEventArgs 1041internal sealed class MyCustomBuildErrorEventArgsNotSerializable : BuildErrorEventArgs
Microsoft.Build.Framework (2)
BuildCheck\BuildCheckEventArgs.cs (1)
183internal sealed class BuildCheckResultError : BuildErrorEventArgs
ExtendedBuildErrorEventArgs.cs (1)
16public sealed class ExtendedBuildErrorEventArgs : BuildErrorEventArgs, IExtendedBuildEventArgs
Microsoft.Build.Framework.UnitTests (1)
BuildErrorEventArgs_Tests.cs (1)
38private sealed class BuildErrorEventArgs2 : BuildErrorEventArgs
65 instantiations of BuildErrorEventArgs
Microsoft.Build (7)
BackEnd\Components\Logging\LoggingService.cs (1)
1614buildEventArgs = new BuildErrorEventArgs(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
163new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
47new BuildErrorEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
888e = new BuildErrorEventArgs(
LogMessagePacketBase.cs (2)
553LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1247new BuildErrorEventArgs(
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Engine.UnitTests (29)
BackEnd\EventSourceSink_Tests.cs (1)
765private static BuildErrorEventArgs s_buildError = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
71BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 1756BuildErrorEventArgs buildEvent = new BuildErrorEventArgs(
BackEnd\NodePackets_Tests.cs (2)
56BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 281new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"),
BackEnd\TaskHost_Tests.cs (4)
198_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 210_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 223_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 281_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
BuildEventArgsSerialization_Tests.cs (5)
296var args = new BuildErrorEventArgs( 977BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1041BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1095BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1147BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null);
ConfigureableForwardingLogger_Tests.cs (1)
28private readonly BuildErrorEventArgs _error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (12)
468es.Consume(new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null)); 502BuildErrorEventArgs beea = new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 663buildEventArgs = new BuildErrorEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 790BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 999BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1269BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1438BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1694BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1772BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1806BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1962BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 2052BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC",
EventArgsFormatting_Tests.cs (1)
110BuildErrorEventArgs error = new BuildErrorEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
TerminalLogger_Tests.cs (1)
262return new BuildErrorEventArgs("", "AA0000", "directory/file", 1, 2, 3, 4, error, null, null)
Microsoft.Build.Framework.UnitTests (15)
BuildErrorEventArgs_Tests.cs (7)
25beea = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 26beea = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender", DateTime.Now); 27beea = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", DateTime.Now, "Message"); 28beea = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", "HelpLink", DateTime.Now, "Message"); 29beea = new BuildErrorEventArgs(null, null, null, 1, 2, 3, 4, null, null, null); 30beea = new BuildErrorEventArgs(null, null, null, 1, 2, 3, 4, null, null, null, DateTime.Now); 31beea = new BuildErrorEventArgs(null, null, null, 1, 2, 3, 4, null, null, null, null, DateTime.Now, null);
CustomEventArgSerialization_Tests.cs (8)
127BuildErrorEventArgs genericEvent = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName"); 136BuildErrorEventArgs newGenericEvent = new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 144genericEvent = new BuildErrorEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty); 153newGenericEvent = new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 161genericEvent = new BuildErrorEventArgs(null, null, null, 1, 2, 3, 4, null, null, null); 170newGenericEvent = new BuildErrorEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something"); 178genericEvent = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName", "HelpLink", DateTime.Now); 187newGenericEvent = new BuildErrorEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something", "HelpLink", DateTime.Now);
Microsoft.Build.Utilities.Core (1)
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Utilities.UnitTests (2)
EventArgsFormatting_Tests.cs (2)
98BuildErrorEventArgs error = new BuildErrorEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender"); 134BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC",
Microsoft.DotNet.SignTool.Tests (2)
FakeBuildEngine.cs (2)
48LogErrorEvent(new BuildErrorEventArgs(string.Empty, string.Empty, string.Empty, 0, 0, 0, 0, "Didn't find a project node.", "", "")); 53LogErrorEvent(new BuildErrorEventArgs(string.Empty, string.Empty, string.Empty, 0, 0, 0, 0, "Only one <ItemGroup> is expected on this file.", "", ""));
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
155 var data = new BuildErrorEventArgs(
MSBuild (4)
LogMessagePacketBase.cs (2)
553LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1247new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapperBase.cs (1)
388buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1251BuildErrorEventArgs error = new BuildErrorEventArgs(
MSBuildTaskHost (4)
LogMessagePacketBase.cs (2)
553LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1247new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapperBase.cs (1)
388buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1251BuildErrorEventArgs error = new BuildErrorEventArgs(
151 references to BuildErrorEventArgs
Microsoft.Arcade.Test.Common (6)
MockBuildEngine.cs (3)
22public List<BuildErrorEventArgs> BuildErrorEvents = new List<BuildErrorEventArgs>(); 36public void LogErrorEvent(BuildErrorEventArgs e)
MockEngine.cs (3)
29public ICollection<BuildErrorEventArgs> Errors { get; } = new List<BuildErrorEventArgs>(); 53public void LogErrorEvent(BuildErrorEventArgs e)
Microsoft.Build (41)
BackEnd\Components\Logging\EventSourceSink.cs (1)
282case BuildErrorEventArgs buildErrorEvent:
BackEnd\Components\Logging\LoggingService.cs (3)
1212BuildErrorEventArgs errorEvent = null; 1219else if ((errorEvent = buildEvent as BuildErrorEventArgs) != null && errorEvent.BuildEventContext != null && errorEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1634if (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)
407public void LogErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs e)
BackEnd\Shared\EventsCreatorHelper.cs (2)
33public static BuildErrorEventArgs CreateErrorEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword, BuildEventFileInfo file, string message) 46BuildErrorEventArgs buildEvent =
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
56BuildErrorEventArgs buildEvent = EventsCreatorHelper.CreateErrorEventFromText(_eventContext, subcategoryResourceName, errorCode, helpKeyword, file, message);
Definition\ProjectCollection.cs (1)
2377private void ErrorRaisedHandler(object sender, BuildErrorEventArgs e)
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)
Instance\TaskFactories\TaskHostTask.cs (2)
527this.BuildEngine.LogErrorEvent((BuildErrorEventArgs)logMessagePacket.NodeBuildEvent.Value.Value); 541if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Instance\TaskFactoryLoggingHost.cs (1)
155public 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) 834(BuildMessageEventArgs or BuildWarningEventArgs or BuildErrorEventArgs))
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
157else if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Logging\ConsoleLogger.cs (1)
480public 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) 1026public override void ErrorHandler(object sender, BuildErrorEventArgs e)
Logging\SerialConsoleLogger.cs (3)
76errorList = new List<BuildErrorEventArgs>(); 210foreach (BuildErrorEventArgs errorEventArgs in errorList) 472public override void ErrorHandler(object sender, BuildErrorEventArgs e)
Logging\SimpleErrorLogger.cs (1)
57private void HandleErrorEvent(object sender, BuildErrorEventArgs e)
Logging\TerminalLogger\TerminalLogger.cs (2)
1033private void ErrorRaised(object sender, BuildErrorEventArgs e) 1206private string FormatErrorMessage(BuildErrorEventArgs e, string indent)
LogMessagePacketBase.cs (6)
49/// Event is a <see cref="BuildErrorEventArgs"/>. 777else if (eventType == typeof(BuildErrorEventArgs)) 831WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 874private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1223private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1246BuildErrorEventArgs buildEvent =
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
4279foreach (var error in logger.Errors)
Microsoft.Build.Engine.UnitTests (38)
BackEnd\BuildManager_Logging_Tests.cs (1)
82public void Build_WithCustomBuildArgs_ShouldEmitErrorOnNetCore() => Build_WithCustomBuildArgs_ShouldEmitEvent<BuildErrorEventArgs>();
BackEnd\EventSourceSink_Tests.cs (3)
645private void Source_ErrorRaised(object sender, BuildErrorEventArgs e) 765private static BuildErrorEventArgs s_buildError = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 934internal static BuildErrorEventArgs Error
BackEnd\LoggingService_Tests.cs (2)
736BuildErrorEventArgs actualBuildEvent = logger.Errors.ShouldHaveSingleItem(); 874BuildErrorEventArgs actualBuildEvent = logger.Errors.ShouldHaveSingleItem();
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
71BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 474List<BuildErrorEventArgs> errors = mockLogger.Errors; 476BuildErrorEventArgs error = errors[0]; 1756BuildErrorEventArgs buildEvent = new BuildErrorEventArgs( 1769Assert.True(buildEvent.IsEquivalent((BuildErrorEventArgs)service.ProcessedBuildEvent));
BackEnd\NodePackets_Tests.cs (1)
56BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\TaskExecutionHost_Tests.cs (1)
1175public void LogErrorEvent(BuildErrorEventArgs e)
BackEnd\TaskHost_Tests.cs (7)
201Assert.True(_customLogger.LastError is BuildErrorEventArgs); // "Expected Error Event" 226Assert.True(_customLogger.LastError is BuildErrorEventArgs); // "Expected Error Event" 284Assert.True(_customLogger.LastError is BuildErrorEventArgs); // "Expected Error Event" 342Assert.True(_customLogger.LastError is BuildErrorEventArgs); // "Expected Error Event" 1118private BuildErrorEventArgs _lastError = null; 1158public BuildErrorEventArgs LastError 1290internal void MyCustomErrorHandler(object s, BuildErrorEventArgs e)
BuildEventArgsSerialization_Tests.cs (7)
296var args = new BuildErrorEventArgs( 977BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1019var deserializedError = (BuildErrorEventArgs)buildEventArgsReader.Read(); 1041BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1095BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1147BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null);
ConfigureableForwardingLogger_Tests.cs (1)
28private readonly BuildErrorEventArgs _error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (6)
502BuildErrorEventArgs beea = new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 790BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 999BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1269BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1962BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 2052BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC",
Construction\SolutionProjectGenerator_Tests.cs (1)
358BuildErrorEventArgs error = logger.Errors[0];
EventArgsFormatting_Tests.cs (1)
110BuildErrorEventArgs error = new BuildErrorEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
TerminalLogger_Tests.cs (1)
260private BuildErrorEventArgs MakeErrorEventArgs(string error)
WarningsAsMessagesAndErrors_Tests.cs (1)
223BuildErrorEventArgs actualEvent = logger.Errors.FirstOrDefault();
Microsoft.Build.Framework (2)
IBuildEngine.cs (1)
22void LogErrorEvent(BuildErrorEventArgs e);
IEventSource.cs (1)
18public delegate void BuildErrorEventHandler(object sender, BuildErrorEventArgs e);
Microsoft.Build.Framework.UnitTests (5)
BuildErrorEventArgs_Tests.cs (1)
24BuildErrorEventArgs beea = new BuildErrorEventArgs2();
CustomEventArgSerialization_Tests.cs (4)
127BuildErrorEventArgs genericEvent = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName"); 136BuildErrorEventArgs newGenericEvent = new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 197private static void VerifyBuildErrorEventArgs(BuildErrorEventArgs genericEvent, BuildErrorEventArgs newGenericEvent)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
TestUtilities\ErrorLoggerEngine.cs (2)
29new Type[] { typeof(BuildErrorEventArgs) }, null) ?? throw new Exception("Could not find FormatEventMessage(BuildErrorEventArgs)."); 40public void LogErrorEvent(BuildErrorEventArgs eventArgs)
TestUtilities\MockEngine.cs (1)
27public void LogErrorEvent(BuildErrorEventArgs eventArgs)
Microsoft.Build.Tasks.UnitTests (5)
CodeTaskFactoryTests.cs (1)
1229BuildErrorEventArgs error = mockLogger.Errors.FirstOrDefault();
VerifyFileHash_Tests.cs (4)
38var errorEvent = _mockEngine.ErrorEvents.ShouldHaveSingleItem(); 56var errorEvent = _mockEngine.ErrorEvents.ShouldHaveSingleItem(); 74var errorEvent = _mockEngine.ErrorEvents.ShouldHaveSingleItem(); 95var errorEvent = _mockEngine.ErrorEvents.ShouldHaveSingleItem();
Microsoft.Build.UnitTests.Shared (9)
BuildEventArgsExtension.cs (2)
122public static bool IsEquivalent(this BuildErrorEventArgs args, BuildErrorEventArgs other)
MockEngine.cs (4)
43private readonly ConcurrentQueue<BuildErrorEventArgs> _errorEvents = new ConcurrentQueue<BuildErrorEventArgs>(); 58public BuildErrorEventArgs[] ErrorEvents => _errorEvents.ToArray(); 78public void LogErrorEvent(BuildErrorEventArgs eventArgs)
MockLogger.cs (3)
64public List<BuildErrorEventArgs> Errors { get; } = new List<BuildErrorEventArgs>(); 294case BuildErrorEventArgs e:
Microsoft.Build.Utilities.Core (7)
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)
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);
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.Utilities.UnitTests (5)
EventArgsFormatting_Tests.cs (3)
98BuildErrorEventArgs error = new BuildErrorEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender"); 134BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 164BuildErrorEventArgs beea = null;
MockEngine.cs (1)
44public void LogErrorEvent(BuildErrorEventArgs eventArgs)
TrackedDependencies\MockEngine.cs (1)
38public void LogErrorEvent(BuildErrorEventArgs eventArgs)
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.DotNet.Build.Tasks.Packaging.Tests (1)
TestBuildEngine.cs (1)
41public void LogErrorEvent(BuildErrorEventArgs e)
Microsoft.DotNet.NuGetRepack.Tests (3)
TestHelpers\FakeBuildEngine.cs (3)
15public List<BuildErrorEventArgs> LogErrorEvents = new List<BuildErrorEventArgs>(); 53public void LogErrorEvent(BuildErrorEventArgs e)
Microsoft.DotNet.SignTool.Tests (3)
FakeBuildEngine.cs (3)
17public List<BuildErrorEventArgs> LogErrorEvents = new List<BuildErrorEventArgs>(); 95public void LogErrorEvent(BuildErrorEventArgs e)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
MockBuildEngine.cs (1)
66public void LogErrorEvent(BuildErrorEventArgs eventArgs)
Microsoft.Maui.Resizetizer (2)
AsyncTask.cs (2)
155 var data = new BuildErrorEventArgs( 298 LogInternal<BuildErrorEventArgs>(errorMessageQueue, (e) =>
MSBuild (10)
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)
LogMessagePacketBase.cs (5)
777else if (eventType == typeof(BuildErrorEventArgs)) 831WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 874private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1223private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1246BuildErrorEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
320public void LogErrorEvent(BuildErrorEventArgs e) 1251BuildErrorEventArgs error = new BuildErrorEventArgs(
MSBuildTaskHost (7)
LogMessagePacketBase.cs (5)
777else if (eventType == typeof(BuildErrorEventArgs)) 831WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 874private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1223private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1246BuildErrorEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
320public void LogErrorEvent(BuildErrorEventArgs e) 1251BuildErrorEventArgs error = new BuildErrorEventArgs(