Base:
property
OverallResult
Microsoft.Build.Execution.BuildResultBase.OverallResult
Implemented interface member:
property
OverallResult
Microsoft.Build.BackEnd.IBuildResults.OverallResult
165 references to OverallResult
Microsoft.Build (13)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
453TraceEngine("Request {0}({1}) (nr {2}) is no longer waiting on nr {3} (UBR). Results are {4}.", entry.Request.GlobalRequestId, entry.Request.ConfigurationId, entry.Request.NodeRequestId, result.NodeRequestId, result.OverallResult);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
480if (result.OverallResult == BuildResultCode.Success)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
123projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
882_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
1243if (results[i].OverallResult == BuildResultCode.Failure)
BackEnd\Components\Scheduler\Scheduler.cs (2)
427if (result.OverallResult != BuildResultCode.Failure) 1857if (response.BuildResult.OverallResult != BuildResultCode.Failure)
BackEnd\Shared\BuildResult.cs (4)
201_baseOverallResult = existingResults.OverallResult == BuildResultCode.Success; 268_baseOverallResult = result.OverallResult == BuildResultCode.Success; 285_baseOverallResult = result.OverallResult == BuildResultCode.Success; 731_baseOverallResult = OverallResult == BuildResultCode.Success,
Graph\GraphBuildResult.cs (1)
66if (result.Value.OverallResult == BuildResultCode.Failure)
Instance\ProjectInstance.cs (1)
2725return results.OverallResult == BuildResultCode.Success;
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
100result.OverallResult.ShouldBe(BuildResultCode.Success);
Microsoft.Build.Engine.UnitTests (138)
BackEnd\BuildManager_Tests.cs (73)
136Assert.Equal(BuildResultCode.Success, result.OverallResult); 207result.OverallResult.ShouldBe(BuildResultCode.Success); 452Assert.Equal(BuildResultCode.Success, result.OverallResult); 517result.OverallResult.ShouldBe(BuildResultCode.Success); 570Assert.Equal(BuildResultCode.Success, result.OverallResult); 610Assert.Equal(BuildResultCode.Success, result.OverallResult); 654Assert.Equal(BuildResultCode.Success, result.OverallResult); 716Assert.Equal(BuildResultCode.Success, result.OverallResult); 786Assert.Equal(BuildResultCode.Success, result.OverallResult); 837Assert.Equal(BuildResultCode.Success, result.OverallResult); 906Assert.Equal(BuildResultCode.Success, result.OverallResult); 935Assert.Equal(BuildResultCode.Success, result.OverallResult); 959Assert.Equal(BuildResultCode.Failure, result.OverallResult); 992result.OverallResult.ShouldBe(BuildResultCode.Success); 1045Assert.Equal(BuildResultCode.Failure, result.OverallResult); 1079Assert.Equal(BuildResultCode.Failure, result.OverallResult); 1341Assert.Equal(BuildResultCode.Success, result.OverallResult); 1344Assert.Equal(BuildResultCode.Success, result2.OverallResult); 1384Assert.Equal(BuildResultCode.Success, result2.OverallResult); 1385Assert.Equal(BuildResultCode.Success, result.OverallResult); 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); 1564Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1599Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1639Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1677Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1718Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1752Assert.Equal(BuildResultCode.Failure, result.OverallResult); // "Build should have failed." 1782Assert.Equal(BuildResultCode.Success, result1.OverallResult); 1784Assert.Equal(BuildResultCode.Success, result2.OverallResult); 1817Assert.Equal(BuildResultCode.Success, result1.OverallResult); 1819Assert.Equal(BuildResultCode.Success, result2.OverallResult); 1851Assert.Equal(BuildResultCode.Success, result1.OverallResult); 1853Assert.Equal(BuildResultCode.Success, result2.OverallResult); 2165Assert.Equal(BuildResultCode.Success, result.OverallResult); 2172Assert.Equal(BuildResultCode.Success, result2.OverallResult); 2200Assert.Equal(BuildResultCode.Success, result.OverallResult); 2229Assert.Equal(BuildResultCode.Success, result.OverallResult); 2415Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2476Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2534Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2582Assert.Equal(BuildResultCode.Success, result.OverallResult); 2671Assert.Equal(BuildResultCode.Success, result.OverallResult); 2742Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2839Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2939Assert.Equal(BuildResultCode.Failure, result.OverallResult); 3025Assert.Equal(BuildResultCode.Failure, result.OverallResult); 3094Assert.Equal(BuildResultCode.Success, result.OverallResult); 3224Assert.Equal(BuildResultCode.Success, br.OverallResult); 3235Assert.Equal(BuildResultCode.Success, br.OverallResult); 3311Assert.Equal(BuildResultCode.Success, br.OverallResult); 3322Assert.Equal(BuildResultCode.Success, br.OverallResult); 3417Assert.Equal(BuildResultCode.Failure, result1.OverallResult); 3447Assert.Equal(BuildResultCode.Failure, result1.OverallResult); 3478Assert.Equal(BuildResultCode.Failure, buildResult.OverallResult); 3516Assert.Equal(BuildResultCode.Success, result.OverallResult); // "Test project failed to build correctly." 3724Assert.Equal(BuildResultCode.Success, results.OverallResult); 3746Assert.Equal(BuildResultCode.Success, results.OverallResult); 3809Assert.Equal(BuildResultCode.Success, result.OverallResult); 3876Assert.True(results.OverallResult == BuildResultCode.Success); 3903Assert.Equal(BuildResultCode.Success, results.OverallResult); 3907Assert.Equal(BuildResultCode.Failure, results.OverallResult); 3966Assert.Equal(BuildResultCode.Success, result.OverallResult); 4050result.OverallResult.ShouldBe(BuildResultCode.Success); 4170result.OverallResult.ShouldBe(BuildResultCode.Success); 4213result.ResultsByNode[node1].OverallResult.ShouldBe(BuildResultCode.Success); 4217result.ResultsByNode[node2].OverallResult.ShouldBe(BuildResultCode.Success); 4298result.ResultsByNode[node1].OverallResult.ShouldBe(BuildResultCode.Failure); 4302result.ResultsByNode[node2].OverallResult.ShouldBe(BuildResultCode.Failure); 4417Assert.Equal(BuildResultCode.Success, result.OverallResult); 4427Assert.Equal(BuildResultCode.Failure, result.OverallResult);
BackEnd\BuildRequestEngine_Tests.cs (5)
138if (configResult.OverallResult == BuildResultCode.Failure) 357Assert.Equal(BuildResultCode.Failure, _requestComplete_Result.OverallResult); 384Assert.Equal(BuildResultCode.Success, _requestComplete_Result.OverallResult); 437Assert.Equal(BuildResultCode.Success, _requestComplete_Result.OverallResult); 502Assert.Equal(BuildResultCode.Success, _requestComplete_Result.OverallResult);
BackEnd\BuildResult_Tests.cs (7)
56Assert.Equal(result1.OverallResult, result2.OverallResult); 96Assert.Equal(BuildResultCode.Success, result.OverallResult); 99Assert.Equal(BuildResultCode.Success, result.OverallResult); 102Assert.Equal(BuildResultCode.Success, result.OverallResult); 105Assert.Equal(BuildResultCode.Failure, result.OverallResult); 111Assert.Equal(BuildResultCode.Failure, result2.OverallResult);
BackEnd\RequestBuilder_Tests.cs (5)
99Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult); 132Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult); 171Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult); 213Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult); 235Assert.Equal(BuildResultCode.Failure, _buildRequestCompleted_Entry.Result.OverallResult);
BackEnd\ResultsCache_Tests.cs (3)
192Assert.Equal(BuildResultCode.Success, response.Results.OverallResult); 479if (a.OverallResult != b.OverallResult)
BackEnd\Scheduler_Tests.cs (1)
717Assert.Equal(BuildResultCode.Success, result.OverallResult);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
130result.OverallResult.ShouldBe(BuildResultCode.Success); 176result.OverallResult.ShouldBe(BuildResultCode.Success);
BackEnd\TargetBuilder_Tests.cs (1)
274result.OverallResult.ShouldBe(BuildResultCode.Failure);
BackEnd\TargetEntry_Tests.cs (1)
884Assert.Equal(BuildResultCode.Failure, result.OverallResult);
BackEnd\TaskBuilder_Tests.cs (1)
198result.OverallResult.ShouldBe(BuildResultCode.Failure);
BackEnd\TaskRegistry_Tests.cs (1)
679result.OverallResult.ShouldBe(BuildResultCode.Success);
BinaryLogger_Tests.cs (1)
599.OverallResult.ShouldBe(BuildResultCode.Success);
Construction\SolutionProjectGenerator_Tests.cs (2)
2132Assert.Equal(BuildResultCode.Failure, result.OverallResult); 2220Assert.Equal(BuildResultCode.Failure, result.OverallResult);
EndToEndCondition_Tests.cs (2)
45result.OverallResult.ShouldBe(BuildResultCode.Success); 68result.OverallResult.ShouldBe(BuildResultCode.Success);
EvaluationProfiler_Tests.cs (1)
293Assert.Equal(BuildResultCode.Success, result.OverallResult);
Graph\IsolateProjects_Tests.cs (17)
170result.OverallResult.ShouldBe(expectedBuildResult); 182result.OverallResult.ShouldBe(BuildResultCode.Success); 206result.OverallResult.ShouldBe(BuildResultCode.Failure); 231result.OverallResult.ShouldBe(BuildResultCode.Success); 253result.OverallResult.ShouldBe(BuildResultCode.Success); 347declaredReferenceBuildResults[0].OverallResult.ShouldBe(BuildResultCode.Success); 348rootBuildResults[0].OverallResult.ShouldBe(BuildResultCode.Success); 380result.OverallResult.ShouldBe(BuildResultCode.Success); 402result.OverallResult.ShouldBe(BuildResultCode.Success); 419result.OverallResult.ShouldBe(BuildResultCode.Failure); 436result.OverallResult.ShouldBe(BuildResultCode.Failure); 494result.OverallResult.ShouldBe(BuildResultCode.Success); 545.OverallResult.ShouldBe(BuildResultCode.Success); 551.OverallResult.ShouldBe(BuildResultCode.Success); 605buildManagerSession.BuildProjectFile(referenceFile).OverallResult.ShouldBe(BuildResultCode.Success); 606buildManagerSession.BuildProjectFile(referenceFile, new[] { "A" }).OverallResult.ShouldBe(BuildResultCode.Success); 608buildManagerSession.BuildProjectFile(projectFile).OverallResult.ShouldBe(BuildResultCode.Success);
Graph\ProjectGraph_Tests.cs (3)
1565result.Value.Result.OverallResult.ShouldBe(BuildResultCode.Success); 1613results["2"].Result.OverallResult.ShouldBe(BuildResultCode.Success); 1615project1BuildResult.OverallResult.ShouldBe(BuildResultCode.Failure);
Graph\ResultCacheBasedBuilds_Tests.cs (10)
70result.OverallResult.ShouldBe(BuildResultCode.Failure); 92result.OverallResult.ShouldBe(BuildResultCode.Success); 139result.OverallResult.ShouldBe(BuildResultCode.Success); 159result.OverallResult.ShouldBe(BuildResultCode.Success); 171resultFromCachedBuild.OverallResult.ShouldBe(BuildResultCode.Success); 393results["3"].Result.OverallResult.ShouldBe(BuildResultCode.Success); 394results["2"].Result.OverallResult.ShouldBe(BuildResultCode.Success); 396results["1"].Result.OverallResult.ShouldBe(BuildResultCode.Failure); 480result.OverallResult.ShouldBe(BuildResultCode.Success); 567result.OverallResult.ShouldBe(BuildResultCode.Failure);
InternalEngineHelpers.cs (2)
162actualBuildResult.OverallResult.ShouldBe(expectedBuildResult.OverallResult);
Microsoft.Build.Tasks.UnitTests (3)
CreateItem_Tests.cs (1)
217result.OverallResult.ShouldBe(BuildResultCode.Success);
Exec_Tests.cs (2)
976result.OverallResult.ShouldBe(BuildResultCode.Success); 1028result.OverallResult.ShouldBe(BuildResultCode.Success);
Microsoft.Build.UnitTests.Shared (6)
ObjectModelHelpers.cs (6)
164result.OverallResult.ShouldBe( 178result.OverallResult.ShouldBe(BuildResultCode.Failure); 1023return result.OverallResult == BuildResultCode.Success; 1391result.OverallResult.ShouldBe(expectedResult); 1516buildResult.OverallResult.ShouldBe(BuildResultCode.Failure); 1540buildResult.OverallResult.ShouldBe(BuildResultCode.Success);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
266if (result.OverallResult == MSB.Execution.BuildResultCode.Failure)
MSBuild (3)
XMake.cs (3)
1595if (result.OverallResult != BuildResultCode.Success) 1601success = result.OverallResult == BuildResultCode.Success; 1632success = result.OverallResult == BuildResultCode.Success;