19 references to ErrorCode
Microsoft.Build (2)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
165invalidProjectFileException.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)
381Assert.NotEqual("MSB4068", ex.ErrorCode); 384Assert.Equal("MSB4041", ex.ErrorCode);
Construction\ProjectTargetElement_Tests.cs (1)
363error.ErrorCode.ShouldMatch("MSB4067");
Microsoft.Build.Engine.UnitTests (14)
BackEnd\BatchingEngine_Tests.cs (1)
105Assert.Equal("MSB4012", ex.ErrorCode);
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
189VerifyBuildErrorEventArgs(fileInfo, exception.ErrorCode, exception.HelpKeyword, exception.BaseMessage, service, exception.ErrorSubcategory); 201VerifyBuildErrorEventArgs(fileInfo, exception.ErrorCode, exception.HelpKeyword, exception.BaseMessage, service, exception.ErrorSubcategory);
BackEnd\SdkResolverLoader_Tests.cs (3)
287ex.ErrorCode.ShouldBe("MSB4245"); 303ex.ErrorCode.ShouldBe("MSB4246"); 327ex.ErrorCode.ShouldBe("MSB4247");
BackEnd\TaskRegistry_Tests.cs (1)
1249exception.ErrorCode.ShouldBe("MSB4175");
Construction\SolutionFile_OldParser_Tests.cs (2)
1217e.ErrorCode.ShouldBe("MSB5023"); 1260e.ErrorCode.ShouldBe("MSB5009");
Evaluation\Evaluator_Tests.cs (2)
960Assert.Contains("MSB4278", ex.ErrorCode); 4542Assert.Equal("MSB4067", ex.ErrorCode);
Evaluation\ProjectSdkImplicitImport_Tests.cs (3)
308Assert.Equal("MSB4229", exception.ErrorCode); 399Assert.Equal("MSB4238", e.ErrorCode); 424Assert.Equal("MSB4229", exception.ErrorCode);