14 references to ResultCode
Microsoft.Build (10)
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
539if (aggregateResult.ResultCode == WorkUnitResultCode.Skipped) 556targetSuccess = (bucketResult?.ResultCode == WorkUnitResultCode.Success); 677if (aggregateResult.ResultCode == WorkUnitResultCode.Failed && aggregateResult.ActionCode == WorkUnitActionCode.Stop) 834if (lastResult.ResultCode == WorkUnitResultCode.Failed) 838else if (lastResult.ResultCode == WorkUnitResultCode.Success && aggregatedTaskResult != WorkUnitResultCode.Failed)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
478taskLoggingContext.LogTaskBatchFinished(_projectFullPath, taskResult.ResultCode == WorkUnitResultCode.Success || taskResult.ResultCode == WorkUnitResultCode.Skipped); 480if (taskResult.ResultCode == WorkUnitResultCode.Failed && _continueOnError == ContinueOnError.WarnAndContinue)
BackEnd\Shared\TargetResult.cs (1)
121switch (_result.ResultCode)
BackEnd\Shared\WorkUnitResult.cs (1)
157if (result._resultCode == WorkUnitResultCode.Canceled || result.ResultCode == WorkUnitResultCode.Failed)
Microsoft.Build.Engine.UnitTests (4)
BackEnd\ResultsCache_Tests.cs (2)
451copiedTargetResult.WorkUnitResult.ResultCode.ShouldBe(initialTargetResult.WorkUnitResult.ResultCode);
InternalEngineHelpers.cs (2)
185a.WorkUnitResult.ResultCode.ShouldBe(b.WorkUnitResult.ResultCode);