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