17 instantiations of ExtendedBuildWarningEventArgs
Microsoft.Build (2)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
959e = new ExtendedBuildWarningEventArgs(
LogMessagePacketBase.cs (1)
646LoggingEventType.ExtendedBuildWarningEvent => new ExtendedBuildWarningEventArgs(),
Microsoft.Build.Engine.UnitTests (4)
BackEnd\NodePackets_Tests.cs (2)
68ExtendedBuildWarningEventArgs extWarning = new("extWarn", "SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 296new ExtendedBuildWarningEventArgs("extWarn", "SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender", DateTime.UtcNow, "arg1")
BackEnd\TaskHost_Tests.cs (1)
423_taskHost.LogWarningEvent(new ExtendedBuildWarningEventArgs("testExtCustomBuildWarning", null, null, null, 0, 0, 0, 0, "ext warn message", null, null));
BuildEventArgsSerialization_Tests.cs (1)
402var args = new ExtendedBuildWarningEventArgs(
Microsoft.Build.Framework.UnitTests (10)
ExtendedBuildEventArgs_Tests.cs (10)
88ExtendedBuildWarningEventArgs arg = new( 115ExtendedBuildWarningEventArgs argDeserialized = new(); 226var ea = new ExtendedBuildWarningEventArgs(); 227ea = new ExtendedBuildWarningEventArgs("type", "Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 228ea = new ExtendedBuildWarningEventArgs("type", "Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender", DateTime.Now); 229ea = new ExtendedBuildWarningEventArgs("type", "Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", DateTime.Now, "Message"); 230ea = new ExtendedBuildWarningEventArgs("type", "Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", "HelpLink", DateTime.Now, "Message"); 231ea = new ExtendedBuildWarningEventArgs("type", null, null, null, 1, 2, 3, 4, null, null, null); 232ea = new ExtendedBuildWarningEventArgs("type", null, null, null, 1, 2, 3, 4, null, null, null, DateTime.Now); 233ea = new ExtendedBuildWarningEventArgs("type", null, null, null, 1, 2, 3, 4, null, null, null, null, DateTime.Now, null);
MSBuild (1)
LogMessagePacketBase.cs (1)
646LoggingEventType.ExtendedBuildWarningEvent => new ExtendedBuildWarningEventArgs(),
11 references to ExtendedBuildWarningEventArgs
Microsoft.Build (4)
BackEnd\Components\Logging\LoggingService.cs (2)
1564if (buildEventArgs is ExtendedBuildWarningEventArgs extWarningEvent) 1610if (warningEvent is ExtendedBuildWarningEventArgs extWarningEvent)
LogMessagePacketBase.cs (2)
174/// Event is <see cref="ExtendedBuildWarningEventArgs"/>. 744else if (eventType == typeof(ExtendedBuildWarningEventArgs))
Microsoft.Build.Engine.UnitTests (3)
BackEnd\NodePackets_Tests.cs (1)
68ExtendedBuildWarningEventArgs extWarning = new("extWarn", "SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\TaskHost_Tests.cs (1)
426Assert.True(_customLogger.LastWarning is ExtendedBuildWarningEventArgs); // "Expected custom build Event"
BuildEventArgsSerialization_Tests.cs (1)
402var args = new ExtendedBuildWarningEventArgs(
Microsoft.Build.Framework.UnitTests (3)
ExtendedBuildEventArgs_Tests.cs (3)
88ExtendedBuildWarningEventArgs arg = new( 115ExtendedBuildWarningEventArgs argDeserialized = new(); 226var ea = new ExtendedBuildWarningEventArgs();
MSBuild (1)
LogMessagePacketBase.cs (1)
744else if (eventType == typeof(ExtendedBuildWarningEventArgs))