68 references to BuildErrorEventArgs
Microsoft.Build (4)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
163
new
BuildErrorEventArgs
(
BackEnd\Shared\EventsCreatorHelper.cs (1)
43
new
BuildErrorEventArgs
(
LogMessagePacketBase.cs (2)
504
LoggingEventType.BuildErrorEvent => new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null),
970
new
BuildErrorEventArgs
(
Microsoft.Build.Engine.UnitTests (40)
BackEnd\BuildTelemetryErrorCategorization_Tests.cs (12)
43
var errorEvent = new
BuildErrorEventArgs
(
110
new
BuildErrorEventArgs
(null, "CS0103", "file.cs", 1, 1, 0, 0, "Error 1", null, "sender"),
111
new
BuildErrorEventArgs
(null, "CS1002", "file.cs", 2, 1, 0, 0, "Error 2", null, "sender"),
112
new
BuildErrorEventArgs
(null, "MSB4018", "file.proj", 10, 5, 0, 0, "Error 3", null, "sender"),
113
new
BuildErrorEventArgs
(null, "MSB3026", "file.proj", 15, 3, 0, 0, "Error 4", null, "sender"),
114
new
BuildErrorEventArgs
(null, "NU1101", "file.proj", 20, 1, 0, 0, "Error 5", null, "sender"),
115
new
BuildErrorEventArgs
(null, "CUSTOM001", "file.txt", 1, 1, 0, 0, "Error 6", null, "sender"),
154
new
BuildErrorEventArgs
(null, "MSB3026", "file.proj", 1, 1, 0, 0, "Task Error 1", null, "sender"),
155
new
BuildErrorEventArgs
(null, "MSB3027", "file.proj", 2, 1, 0, 0, "Task Error 2", null, "sender"),
156
new
BuildErrorEventArgs
(null, "MSB3028", "file.proj", 3, 1, 0, 0, "Task Error 3", null, "sender"),
157
new
BuildErrorEventArgs
(null, "CS0103", "file.cs", 4, 1, 0, 0, "Compiler Error", null, "sender"),
189
var errorEvent = new
BuildErrorEventArgs
(
BackEnd\EventSourceSink_Tests.cs (1)
765
private static BuildErrorEventArgs s_buildError = new
BuildErrorEventArgs
("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
70
BuildErrorEventArgs error = new
BuildErrorEventArgs
("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\NodePackets_Tests.cs (2)
57
BuildErrorEventArgs error = new
BuildErrorEventArgs
("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
282
new
BuildErrorEventArgs
("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"),
BackEnd\TaskHost_Tests.cs (6)
203
_taskHost.LogErrorEvent(new
BuildErrorEventArgs
("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
215
_taskHost.LogErrorEvent(new
BuildErrorEventArgs
("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
228
_taskHost.LogErrorEvent(new
BuildErrorEventArgs
("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
286
_taskHost.LogErrorEvent(new
BuildErrorEventArgs
("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
921
:
base
(null, null, null, 0, 0, 0, 0, message, null, null)
1052
:
base
(null, null, null, 0, 0, 0, 0, message, null, null)
BuildEventArgsSerialization_Tests.cs (4)
1028
BuildErrorEventArgs error =
new
(null, null, null, 1, 2, 3, 4, null, null, null);
1091
BuildErrorEventArgs error =
new
(null, null, null, 1, 2, 3, 4, null, null, null);
1145
BuildErrorEventArgs error =
new
(null, null, null, 1, 2, 3, 4, null, null, null);
1197
BuildErrorEventArgs error =
new
(null, null, null, 1, 2, 3, 4, null, null, null);
ConfigureableForwardingLogger_Tests.cs (1)
28
private readonly BuildErrorEventArgs _error = new
BuildErrorEventArgs
("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (11)
465
es.Consume(new
BuildErrorEventArgs
(null, null, null, 0, 0, 0, 0, null, null, null) { BuildEventContext = new BuildEventContext(1, 1, 1, 1) });
499
BuildErrorEventArgs beea = new
BuildErrorEventArgs
(null, null, null, 0, 0, 0, 0, null, null, null);
643
buildEventArgs = new
BuildErrorEventArgs
(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName);
755
BuildErrorEventArgs beea = new
BuildErrorEventArgs
("VBC",
931
BuildErrorEventArgs beea = new
BuildErrorEventArgs
("VBC",
1148
BuildEventArgs buildEvent = new
BuildErrorEventArgs
("", "", "", 0, 0, 0, 0, "", "", "");
1369
BuildEventArgs buildEvent = new
BuildErrorEventArgs
("", "", "", 0, 0, 0, 0, "", "", "");
1426
BuildEventArgs buildEvent = new
BuildErrorEventArgs
("", "", "", 0, 0, 0, 0, "", "", "");
1446
BuildEventArgs buildEvent = new
BuildErrorEventArgs
("", "", "", 0, 0, 0, 0, "", "", "");
1558
BuildErrorEventArgs beea = new
BuildErrorEventArgs
("VBC", "31415", "file.vb", 42, 0, 0, 0, "Some long message", "help", "sender");
1645
BuildErrorEventArgs beea = new
BuildErrorEventArgs
("VBC", "31415", "file.vb", 42, 0, 0, 0, "Some long message", "help", "sender");
EventArgsFormatting_Tests.cs (1)
110
BuildErrorEventArgs error = new
BuildErrorEventArgs
("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
TerminalLogger_Tests.cs (1)
719
_centralNodeEventSource.InvokeErrorRaised(new
BuildErrorEventArgs
(
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)
25
beea = new
BuildErrorEventArgs
("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender");
29
beea = new
BuildErrorEventArgs
(null, null, null, 1, 2, 3, 4, null, null, null);
CustomEventArgSerialization_Tests.cs (6)
127
BuildErrorEventArgs genericEvent = new
BuildErrorEventArgs
("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName");
136
BuildErrorEventArgs newGenericEvent = new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null);
144
genericEvent = new
BuildErrorEventArgs
(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty);
153
newGenericEvent = new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null);
161
genericEvent = new
BuildErrorEventArgs
(null, null, null, 1, 2, 3, 4, null, null, null);
170
newGenericEvent = new
BuildErrorEventArgs
("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something");
Microsoft.Build.Tasks.Core (2)
LogMessagePacketBase.cs (2)
504
LoggingEventType.BuildErrorEvent => new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null),
970
new
BuildErrorEventArgs
(
Microsoft.Build.Utilities.UnitTests (2)
EventArgsFormatting_Tests.cs (2)
98
BuildErrorEventArgs error = new
BuildErrorEventArgs
("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
134
BuildErrorEventArgs beea = new
BuildErrorEventArgs
("VBC",
Microsoft.DotNet.SignTool.Tests (2)
FakeBuildEngine.cs (2)
48
LogErrorEvent(new
BuildErrorEventArgs
(string.Empty, string.Empty, string.Empty, 0, 0, 0, 0, "Didn't find a project node.", "", ""));
53
LogErrorEvent(new
BuildErrorEventArgs
(string.Empty, string.Empty, string.Empty, 0, 0, 0, 0, "Only one <ItemGroup> is expected on this file.", "", ""));
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
155
var data = new
BuildErrorEventArgs
(
MSBuild (4)
LogMessagePacketBase.cs (2)
504
LoggingEventType.BuildErrorEvent => new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null),
970
new
BuildErrorEventArgs
(
OutOfProcTaskAppDomainWrapperBase.cs (1)
443
buildEngine.LogErrorEvent(new
BuildErrorEventArgs
(
OutOfProcTaskHostNode.cs (1)
1802
BuildErrorEventArgs error = new
BuildErrorEventArgs
(
MSBuildTaskHost (4)
BackEnd\LogMessagePacketBase.cs (2)
323
LoggingEventType.BuildErrorEvent => new
BuildErrorEventArgs
(null, null, null, -1, -1, -1, -1, null, null, null),
621
return new
BuildErrorEventArgs
(
OutOfProcTaskAppDomainWrapper.cs (1)
160
BuildErrorEventArgs error =
new
(
OutOfProcTaskHostNode.cs (1)
912
BuildErrorEventArgs errorArgs =
new
(