5 types derived from BuildErrorEventArgs
Microsoft.Build.Engine.UnitTests (2)
Microsoft.Build.Framework (2)
Microsoft.Build.Framework.UnitTests (1)
64 instantiations of BuildErrorEventArgs
Microsoft.Build (7)
LogMessagePacketBase.cs (2)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null),
1311new BuildErrorEventArgs(
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.UnitTests (28)
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);
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",
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)
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)
MSBuild (4)
LogMessagePacketBase.cs (2)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null),
1311new BuildErrorEventArgs(
MSBuildTaskHost (4)
LogMessagePacketBase.cs (2)
622LoggingEventType.BuildErrorEvent => new BuildErrorEventArgs(null, null, null, -1, -1, -1, -1, null, null, null),
1311new BuildErrorEventArgs(
149 references to BuildErrorEventArgs
Microsoft.Arcade.Test.Common (6)
Microsoft.Build (40)
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.UnitTests (37)
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
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);
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",
Microsoft.Build.Framework (2)
Microsoft.Build.Framework.UnitTests (5)
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)
Microsoft.Build.Tasks.UnitTests (5)
Microsoft.Build.UnitTests.Shared (9)
Microsoft.Build.Utilities.Core (7)
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;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.DotNet.ArcadeLogging (1)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
Microsoft.DotNet.NuGetRepack.Tests (3)
Microsoft.DotNet.SignTool.Tests (3)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
MSBuild (12)
MSBuildTaskHost (7)