119 references to Success
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (1)
2723_overallBuildSuccess &= (submission.BuildResultBase?.OverallResult == BuildResultCode.Success);
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\ProjectCache\CacheResult.cs (1)
126return resultCode == BuildResultCode.Success
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
882_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.Success);
BackEnd\Shared\BuildResult.cs (5)
201_baseOverallResult = existingResults.OverallResult == BuildResultCode.Success; 268_baseOverallResult = result.OverallResult == BuildResultCode.Success; 285_baseOverallResult = result.OverallResult == BuildResultCode.Success; 392return BuildResultCode.Success; 731_baseOverallResult = OverallResult == BuildResultCode.Success,
Graph\GraphBuildResult.cs (1)
72return BuildResultCode.Success;
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 (95)
BackEnd\BuildManager_Tests.cs (52)
136Assert.Equal(BuildResultCode.Success, result.OverallResult); 207result.OverallResult.ShouldBe(BuildResultCode.Success); 253result.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); 992result.OverallResult.ShouldBe(BuildResultCode.Success); 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); 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); 2582Assert.Equal(BuildResultCode.Success, result.OverallResult); 2671Assert.Equal(BuildResultCode.Success, 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); 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); 3966Assert.Equal(BuildResultCode.Success, result.OverallResult); 4050result.OverallResult.ShouldBe(BuildResultCode.Success); 4170result.OverallResult.ShouldBe(BuildResultCode.Success); 4209result.OverallResult.ShouldBe(BuildResultCode.Success); 4213result.ResultsByNode[node1].OverallResult.ShouldBe(BuildResultCode.Success); 4217result.ResultsByNode[node2].OverallResult.ShouldBe(BuildResultCode.Success); 4362graphResult.OverallResult.ShouldBe(BuildResultCode.Success); 4417Assert.Equal(BuildResultCode.Success, result.OverallResult);
BackEnd\BuildRequestEngine_Tests.cs (3)
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 (3)
96Assert.Equal(BuildResultCode.Success, result.OverallResult); 99Assert.Equal(BuildResultCode.Success, result.OverallResult); 102Assert.Equal(BuildResultCode.Success, result.OverallResult);
BackEnd\RequestBuilder_Tests.cs (2)
99Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult); 171Assert.Equal(BuildResultCode.Success, _buildRequestCompleted_Entry.Result.OverallResult);
BackEnd\ResultsCache_Tests.cs (1)
192Assert.Equal(BuildResultCode.Success, response.Results.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\TaskRegistry_Tests.cs (1)
679result.OverallResult.ShouldBe(BuildResultCode.Success);
BinaryLogger_Tests.cs (1)
599.OverallResult.ShouldBe(BuildResultCode.Success);
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 (15)
163[InlineData(BuildResultCode.Success, new string[] { })] 164[InlineData(BuildResultCode.Success, new[] { "BuildSelf" })] 182result.OverallResult.ShouldBe(BuildResultCode.Success); 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); 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 (2)
1565result.Value.Result.OverallResult.ShouldBe(BuildResultCode.Success); 1613results["2"].Result.OverallResult.ShouldBe(BuildResultCode.Success);
Graph\ResultCacheBasedBuilds_Tests.cs (7)
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); 480result.OverallResult.ShouldBe(BuildResultCode.Success);
ProjectCache\ProjectCacheTests.cs (2)
141BuildResultCode.Success) 986BuildResultCode.Success)
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 (4)
ObjectModelHelpers.cs (4)
166BuildResultCode.Success, 173BuildResultCode.Success, 1024return result.OverallResult == BuildResultCode.Success; 1541buildResult.OverallResult.ShouldBe(BuildResultCode.Success);
MSBuild (4)
XMake.cs (4)
1595if (result.OverallResult != BuildResultCode.Success) 1601success = result.OverallResult == BuildResultCode.Success; 1627success = graphResult.OverallResult == BuildResultCode.Success; 1632success = result.OverallResult == BuildResultCode.Success;