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