47 references to BuildWarningEventArgs
Microsoft.Build (6)
BackEnd\Components\Logging\LoggingService.cs (1)
998BuildWarningEventArgs warning = new(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
314BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
444BuildWarningEventArgs warningEvent = new BuildWarningEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
78new BuildWarningEventArgs(
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
184return new BuildWarningEventArgs("", "AA0000", "directory/file", 1, 2, 3, 4, warning, null, null) 192return new BuildWarningEventArgs("", "MSB3026", "directory/file", 1, 2, 3, 4,
Microsoft.Build.Engine.UnitTests (19)
BackEnd\EventSourceSink_Tests.cs (1)
757private static BuildWarningEventArgs s_buildWarning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender")
BackEnd\LoggingService_Tests.cs (2)
715private static readonly BuildWarningEventArgs BuildWarningEventForTreatAsErrorOrMessageTests = new BuildWarningEventArgs("subcategory", "C94A41A90FFB4EF592BF98BA59BEE8AF", "file", 1, 2, 3, 4, "message", "helpKeyword", "senderName"); 795BuildWarningEventArgs warningArgs = new("abc", "FOR123", "", 0, 0, 0, 0, "warning message", "keyword", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
70BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\NodePackets_Tests.cs (2)
55BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 278new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"),
BackEnd\TaskHost_Tests.cs (3)
295_taskHost.LogWarningEvent(new BuildWarningEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender")); 959: base(null, null, null, 0, 0, 0, 0, message, null, null) 1089: base(null, null, null, 0, 0, 0, 0, message, null, null)
ConfigureableForwardingLogger_Tests.cs (1)
27private readonly BuildWarningEventArgs _warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (8)
469es.Consume(new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null)); 502BuildWarningEventArgs bwea = new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 669buildEventArgs = new BuildWarningEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 868BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1076BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1152BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1957BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 2047BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
EventArgsFormatting_Tests.cs (1)
111BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
Microsoft.Build.Framework (2)
BuildWarningEventArgs.cs (1)
175: this(subcategory: null, code: code, file: file, lineNumber: lineNumber, columnNumber: columnNumber, endLineNumber: 0, endColumnNumber: 0, message: message, helpKeyword: null, senderName: null)
ExtendedBuildWarningEventArgs.cs (1)
53: base(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName) => ExtendedType = type;
Microsoft.Build.Framework.UnitTests (10)
BuildWarningEventArgs_Tests.cs (3)
21private BuildWarningEventArgs _baseWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 30buildWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 34buildWarningEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null);
CustomEventArgSerialization_Tests.cs (7)
437BuildWarningEventArgs genericEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName"); 446BuildWarningEventArgs newGenericEvent = new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 454genericEvent = new BuildWarningEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty); 463newGenericEvent = new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 471genericEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null); 480newGenericEvent = new BuildWarningEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something"); 497newGenericEvent = new BuildWarningEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something");
Microsoft.Build.Utilities.UnitTests (2)
EventArgsFormatting_Tests.cs (2)
99BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender"); 148BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
MSBuild (3)
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1227BuildWarningEventArgs warning = new BuildWarningEventArgs(
MSBuildTaskHost (3)
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1227BuildWarningEventArgs warning = new BuildWarningEventArgs(