54 references to BuildErrorEventArgs
Microsoft.Build (4)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
163new BuildErrorEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
47new BuildErrorEventArgs(
LogMessagePacketBase.cs (2)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1311new 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 (1)
71BuildErrorEventArgs error = new BuildErrorEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
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 (6)
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")); 922: base(null, null, null, 0, 0, 0, 0, message, null, null) 1053: base(null, null, null, 0, 0, 0, 0, message, null, null)
BuildEventArgsSerialization_Tests.cs (4)
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 (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.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.", "", ""));
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(