38 references to WorkUnitResult
Microsoft.Build (22)
BackEnd\Components\ProjectCache\CacheResult.cs (2)
127
? new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null)
128
: new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
271
results[i] = new TargetResult(Array.Empty<TaskItem>(), new
WorkUnitResult
(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null));
293
results[i] = new TargetResult(Array.Empty<TaskItem>(), new
WorkUnitResult
(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null));
BackEnd\Components\RequestBuilder\TargetEntry.cs (7)
371
new
WorkUnitResult
(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null),
494
aggregateResult = aggregateResult.AggregateResult(new
WorkUnitResult
(WorkUnitResultCode.Canceled, WorkUnitActionCode.Stop, null));
541
aggregateResult = aggregateResult.AggregateResult(new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null));
573
aggregateResult = aggregateResult.AggregateResult(new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null));
732
_targetResult = new TargetResult(Array.Empty<TaskItem>(), new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null));
817
WorkUnitResult lastResult = new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null);
861
return new
WorkUnitResult
(aggregatedTaskResult, finalActionCode, lastResult.Exception);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (10)
178
WorkUnitResult taskResult = new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
298
WorkUnitResult taskResult = new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
373
WorkUnitResult taskResult = new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
388
return new
WorkUnitResult
(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null);
398
taskResult = new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null);
406
taskResult = new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e);
471
taskResult = new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e);
483
taskResult = new
WorkUnitResult
(WorkUnitResultCode.Success, taskResult.ActionCode, taskResult.Exception);
510
taskResult = new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null);
1015
WorkUnitResult result = new
WorkUnitResult
(resultCode, actionCode, null);
BackEnd\Shared\WorkUnitResult.cs (1)
178
return new
WorkUnitResult
(aggregateResult, aggregateAction, aggregateException);
Microsoft.Build.Engine.UnitTests (16)
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 (4)
87
return Task<WorkUnitResult>.FromResult(new
WorkUnitResult
(WorkUnitResultCode.Canceled, WorkUnitActionCode.Stop, null));
120
return Task<WorkUnitResult>.FromResult(new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Continue, null));
123
return Task<WorkUnitResult>.FromResult(new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null));
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 (5)
32
return new
WorkUnitResult
(WorkUnitResultCode.Success, WorkUnitActionCode.Continue, null);
37
return new
WorkUnitResult
(WorkUnitResultCode.Skipped, WorkUnitActionCode.Continue, null);
42
return new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
47
return new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e);
52
return new
WorkUnitResult
(WorkUnitResultCode.Failed, WorkUnitActionCode.Continue, null);