26 references to BuildResult
Microsoft.Build (8)
BackEnd\BuildManager\BuildManager.cs (3)
2044if (submissionException == null && finishedBuildSubmission.BuildResult?.Exception != null) 2047submissionException = ExceptionDispatchInfo.Capture(finishedBuildSubmission.BuildResult.Exception); 2055resultsPerNode.Add(finishedNode, finishedBuildSubmission.BuildResult!);
BackEnd\BuildManager\BuildSubmission.cs (5)
199ErrorUtilities.VerifyThrow(BuildResult != null, 202return BuildResult!; 239if (BuildResult != null && 240((IBuildComponentHost)BuildManager).LoggingService.HasBuildSubmissionLoggedErrors(BuildResult.SubmissionId)) 242BuildResult.SetOverallResult(overallResult: false);
Microsoft.Build.Engine.UnitTests (16)
BackEnd\BuildManager_Tests.cs (15)
1381BuildResult result = submission1.BuildResult; 1420Assert.Equal(BuildResultCode.Success, submission1.BuildResult.OverallResult); 1421Assert.Equal(BuildResultCode.Success, submission2.BuildResult.OverallResult); 1471Assert.Equal(BuildResultCode.Success, submission1.BuildResult.OverallResult); 1472Assert.Equal(BuildResultCode.Failure, submission2.BuildResult.OverallResult); 1560BuildResult result = asyncResult.BuildResult; 1596BuildResult result = asyncResult.BuildResult; 1636BuildResult result = asyncResult.BuildResult; 1674BuildResult result = asyncResult.BuildResult; 1716BuildResult result = asyncResult.BuildResult; 1749BuildResult result = asyncResult.BuildResult; 1815var result1 = submission.BuildResult; 1849var result1 = submission.BuildResult; 4128submission1.BuildResult.Exception.ShouldBeOfType<InvalidProjectFileException>(); 4129submission2.BuildResult.Exception.ShouldBeOfType<InvalidProjectFileException>();
BackEnd\TaskBuilder_Tests.cs (1)
187BuildResult result = asyncResult.BuildResult;
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
2120completion.SetResult(submission.BuildResult);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
317var result = sub.BuildResult;