68 references to BuildErrorEventArgs
Microsoft.Build (4)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
163new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
43new BuildErrorEventArgs(
LogMessagePacketBase.cs (2)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new BuildErrorEventArgs(
Microsoft.Build.Engine.UnitTests (40)
BackEnd\BuildTelemetryErrorCategorization_Tests.cs (12)
43var errorEvent = new BuildErrorEventArgs( 110new BuildErrorEventArgs(null, "CS0103", "file.cs", 1, 1, 0, 0, "Error 1", null, "sender"), 111new BuildErrorEventArgs(null, "CS1002", "file.cs", 2, 1, 0, 0, "Error 2", null, "sender"), 112new BuildErrorEventArgs(null, "MSB4018", "file.proj", 10, 5, 0, 0, "Error 3", null, "sender"), 113new BuildErrorEventArgs(null, "MSB3026", "file.proj", 15, 3, 0, 0, "Error 4", null, "sender"), 114new BuildErrorEventArgs(null, "NU1101", "file.proj", 20, 1, 0, 0, "Error 5", null, "sender"), 115new BuildErrorEventArgs(null, "CUSTOM001", "file.txt", 1, 1, 0, 0, "Error 6", null, "sender"), 154new BuildErrorEventArgs(null, "MSB3026", "file.proj", 1, 1, 0, 0, "Task Error 1", null, "sender"), 155new BuildErrorEventArgs(null, "MSB3027", "file.proj", 2, 1, 0, 0, "Task Error 2", null, "sender"), 156new BuildErrorEventArgs(null, "MSB3028", "file.proj", 3, 1, 0, 0, "Task Error 3", null, "sender"), 157new BuildErrorEventArgs(null, "CS0103", "file.cs", 4, 1, 0, 0, "Compiler Error", null, "sender"), 189var errorEvent = new BuildErrorEventArgs(
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 (1)
70BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\NodePackets_Tests.cs (2)
57BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 282new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"),
BackEnd\TaskHost_Tests.cs (6)
203_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 215_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 228_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 286_taskHost.LogErrorEvent(new BuildErrorEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 921: base(null, null, null, 0, 0, 0, 0, message, null, null) 1052: base(null, null, null, 0, 0, 0, 0, message, null, null)
BuildEventArgsSerialization_Tests.cs (4)
1028BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1091BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1145BuildErrorEventArgs error = new(null, null, null, 1, 2, 3, 4, null, null, null); 1197BuildErrorEventArgs 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 (11)
471es.Consume(new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null) { BuildEventContext = new BuildEventContext(1, 1, 1, 1) }); 505BuildErrorEventArgs beea = new BuildErrorEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 649buildEventArgs = new BuildErrorEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 761BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 937BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", 1154BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1375BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1432BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1452BuildEventArgs buildEvent = new BuildErrorEventArgs("", "", "", 0, 0, 0, 0, "", "", ""); 1564BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", "31415", "file.vb", 42, 0, 0, 0, "Some long message", "help", "sender"); 1651BuildErrorEventArgs beea = new BuildErrorEventArgs("VBC", "31415", "file.vb", 42, 0, 0, 0, "Some long message", "help", "sender");
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)
719_centralNodeEventSource.InvokeErrorRaised(new BuildErrorEventArgs(
Microsoft.Build.Framework (1)
ExtendedBuildErrorEventArgs.cs (1)
53: base(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName) => ExtendedType = type;
Microsoft.Build.Framework.UnitTests (8)
BuildErrorEventArgs_Tests.cs (2)
25beea = new BuildErrorEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 29beea = new BuildErrorEventArgs(null, null, null, 1, 2, 3, 4, null, null, null);
CustomEventArgSerialization_Tests.cs (6)
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");
Microsoft.Build.Tasks.Core (2)
LogMessagePacketBase.cs (2)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new 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)
504LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 970new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapperBase.cs (1)
443buildEngine.LogErrorEvent(new BuildErrorEventArgs(
OutOfProcTaskHostNode.cs (1)
1798BuildErrorEventArgs error = new BuildErrorEventArgs(
MSBuildTaskHost (4)
BackEnd\LogMessagePacketBase.cs (2)
323LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 621return new BuildErrorEventArgs(
OutOfProcTaskAppDomainWrapper.cs (1)
160BuildErrorEventArgs error = new(
OutOfProcTaskHostNode.cs (1)
912BuildErrorEventArgs errorArgs = new(