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