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)
196internal 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)
1634buildEventArgs = 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)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1311new BuildErrorEventArgs(
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
227return new BuildErrorEventArgs("", "AA0000", "directory/file", 1, 2, 3, 4, error, null, null)
Microsoft.Build.Engine.UnitTests (28)
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"); 279new 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( 969BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1033BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1087BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1139BuildErrorEventArgs 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)
470es.Consume(new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null)); 504BuildErrorEventArgs beea = new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 665buildEventArgs = new BuildErrorEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 792BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1001BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1271BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1440BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1696BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1774BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1808BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1964BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 2054BuildErrorEventArgs 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");
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)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1311new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapperBase.cs (1)
388buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1250BuildErrorEventArgs error = new BuildErrorEventArgs(
MSBuildTaskHost (4)
LogMessagePacketBase.cs (2)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1311new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapperBase.cs (1)
388buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1250BuildErrorEventArgs error = new BuildErrorEventArgs(
152 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 (40)
BackEnd\Components\Logging\EventSourceSink.cs (1)
278case BuildErrorEventArgs buildErrorEvent:
BackEnd\Components\Logging\LoggingService.cs (4)
1016BuildErrorEventArgs buildErrorEvent => buildErrorEvent.ProjectFile, 1250BuildErrorEventArgs errorEvent = null; 1257else if ((errorEvent = buildEvent as BuildErrorEventArgs) != null && errorEvent.BuildEventContext != null && errorEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1654if (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)
2372private 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) 832(BuildMessageEventArgs or BuildWarningEventArgs or BuildErrorEventArgs))
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
157else if (buildEvent is BuildErrorEventArgs buildErrorEventArgs)
Logging\ConsoleLogger.cs (1)
476public 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)
56private void HandleErrorEvent(object sender, BuildErrorEventArgs e)
LogMessagePacketBase.cs (6)
49/// Event is a <see cref="BuildErrorEventArgs"/>. 841else if (eventType == typeof(BuildErrorEventArgs)) 895WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 938private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1287private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1310BuildErrorEventArgs buildEvent =
TaskLoggingHelper.cs (1)
718var e = new BuildErrorEventArgs(
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
225private BuildErrorEventArgs MakeErrorEventArgs(string error)
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
4279foreach (var error in logger.Errors)
Microsoft.Build.Engine.UnitTests (37)
BackEnd\BuildManager_Logging_Tests.cs (1)
86=> TestCustomEventWarning<BuildErrorEventArgs>(envVariableValue, isWarningExpected);
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( 969BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1011var deserializedError = (BuildErrorEventArgs)buildEventArgsReader.Read(); 1033BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1087BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1139BuildErrorEventArgs 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)
504BuildErrorEventArgs beea = new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 792BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1001BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1271BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1964BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 2054BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC",
Construction\SolutionProjectGenerator_Tests.cs (1)
329BuildErrorEventArgs 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");
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 (12)
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)
841else if (eventType == typeof(BuildErrorEventArgs)) 895WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 938private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1287private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1310BuildErrorEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
320public void LogErrorEvent(BuildErrorEventArgs e) 1250BuildErrorEventArgs error = new BuildErrorEventArgs(
TerminalLogger\TerminalLogger.cs (2)
989private void ErrorRaised(object sender, BuildErrorEventArgs e) 1161private string FormatErrorMessage(BuildErrorEventArgs e, string indent)
MSBuildTaskHost (7)
LogMessagePacketBase.cs (5)
841else if (eventType == typeof(BuildErrorEventArgs)) 895WriteBuildErrorEventToStream((BuildErrorEventArgs)buildEvent, translator); 938private void WriteBuildErrorEventToStream(BuildErrorEventArgs buildErrorEventArgs, ITranslator translator) 1287private BuildErrorEventArgs ReadTaskBuildErrorEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1310BuildErrorEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
320public void LogErrorEvent(BuildErrorEventArgs e) 1250BuildErrorEventArgs error = new BuildErrorEventArgs(