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