19 references to ErrorCode
Microsoft.Build (2)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
165
invalidProjectFileException.
ErrorCode
,
Errors\InvalidProjectFileException.cs (1)
74
: this(innerException.ProjectFile, innerException.LineNumber, innerException.ColumnNumber, innerException.EndLineNumber, innerException.EndColumnNumber, message, innerException.ErrorSubcategory, innerException.
ErrorCode
, innerException.HelpKeyword)
Microsoft.Build.Engine.OM.UnitTests (3)
Construction\ProjectRootElement_Tests.cs (2)
381
Assert.NotEqual("MSB4068", ex.
ErrorCode
);
384
Assert.Equal("MSB4041", ex.
ErrorCode
);
Construction\ProjectTargetElement_Tests.cs (1)
363
error.
ErrorCode
.ShouldMatch("MSB4067");
Microsoft.Build.Engine.UnitTests (14)
BackEnd\BatchingEngine_Tests.cs (1)
105
Assert.Equal("MSB4012", ex.
ErrorCode
);
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
189
VerifyBuildErrorEventArgs(fileInfo, exception.
ErrorCode
, exception.HelpKeyword, exception.BaseMessage, service, exception.ErrorSubcategory);
201
VerifyBuildErrorEventArgs(fileInfo, exception.
ErrorCode
, exception.HelpKeyword, exception.BaseMessage, service, exception.ErrorSubcategory);
BackEnd\SdkResolverLoader_Tests.cs (3)
287
ex.
ErrorCode
.ShouldBe("MSB4245");
303
ex.
ErrorCode
.ShouldBe("MSB4246");
327
ex.
ErrorCode
.ShouldBe("MSB4247");
BackEnd\TaskRegistry_Tests.cs (1)
1249
exception.
ErrorCode
.ShouldBe("MSB4175");
Construction\SolutionFile_OldParser_Tests.cs (2)
1217
e.
ErrorCode
.ShouldBe("MSB5023");
1260
e.
ErrorCode
.ShouldBe("MSB5009");
Evaluation\Evaluator_Tests.cs (2)
960
Assert.Contains("MSB4278", ex.
ErrorCode
);
4542
Assert.Equal("MSB4067", ex.
ErrorCode
);
Evaluation\ProjectSdkImplicitImport_Tests.cs (3)
308
Assert.Equal("MSB4229", exception.
ErrorCode
);
399
Assert.Equal("MSB4238", e.
ErrorCode
);
424
Assert.Equal("MSB4229", exception.
ErrorCode
);