24 references to Success
Microsoft.Build (15)
BackEnd\Components\ProjectCache\CacheResult.cs (1)
127? new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null)
BackEnd\Components\RequestBuilder\TargetEntry.cs (6)
541aggregateResult = aggregateResult.AggregateResult(new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null)); 556targetSuccess = (bucketResult?.ResultCode == WorkUnitResultCode.Success); 815WorkUnitResultCode aggregatedTaskResult = WorkUnitResultCode.Success; 817WorkUnitResult lastResult = new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null); 838else if (lastResult.ResultCode == WorkUnitResultCode.Success && aggregatedTaskResult != WorkUnitResultCode.Failed) 840aggregatedTaskResult = WorkUnitResultCode.Success;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (6)
398taskResult = new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null); 478taskLoggingContext.LogTaskBatchFinished(_projectFullPath, taskResult.ResultCode == WorkUnitResultCode.Success || taskResult.ResultCode == WorkUnitResultCode.Skipped); 483taskResult = new WorkUnitResult(WorkUnitResultCode.Success, taskResult.ActionCode, taskResult.Exception); 510taskResult = new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null); 743WorkUnitResultCode resultCode = WorkUnitResultCode.Success; 986resultCode = taskResult ? WorkUnitResultCode.Success : WorkUnitResultCode.Failed;
BackEnd\Shared\TargetResult.cs (1)
130case WorkUnitResultCode.Success:
BackEnd\Shared\WorkUnitResult.cs (1)
162else if (result._resultCode == WorkUnitResultCode.Success && aggregateResult == WorkUnitResultCode.Skipped)
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildResult_Tests.cs (1)
101result.AddResultsForTarget("bar", new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, new Exception())));
BackEnd\CacheSerialization_Tests.cs (5)
56new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null))); 61new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null))); 66new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null))); 72new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null))); 78new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null)));
BackEnd\MockTaskBuilder.cs (1)
127return Task<WorkUnitResult>.FromResult(new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null));
BackEnd\RequestBuilder_Tests.cs (1)
323return new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null));
BuildResultUtilities.cs (1)
32return new WorkUnitResult(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null);