23 references to Failed
Microsoft.Build (18)
BackEnd\Components\ProjectCache\CacheResult.cs (1)
128: new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null);
BackEnd\Components\RequestBuilder\TargetEntry.cs (6)
573aggregateResult = aggregateResult.AggregateResult(new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null)); 677if (aggregateResult.ResultCode == WorkUnitResultCode.Failed && aggregateResult.ActionCode == WorkUnitActionCode.Stop) 732_targetResult = new TargetResult(Array.Empty<TaskItem>(), new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null)); 834if (lastResult.ResultCode == WorkUnitResultCode.Failed) 836aggregatedTaskResult = WorkUnitResultCode.Failed; 838else if (lastResult.ResultCode == WorkUnitResultCode.Success && aggregatedTaskResult != WorkUnitResultCode.Failed)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (9)
178WorkUnitResult taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null); 298WorkUnitResult taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null); 373WorkUnitResult taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null); 406taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e); 471taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e); 480if (taskResult.ResultCode == WorkUnitResultCode.Failed && _continueOnError == ContinueOnError.WarnAndContinue) 556WorkUnitResult taskResult = new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null); 986resultCode = taskResult ? WorkUnitResultCode.Success : WorkUnitResultCode.Failed; 988if (resultCode == WorkUnitResultCode.Failed)
BackEnd\Shared\TargetResult.cs (1)
124case WorkUnitResultCode.Failed:
BackEnd\Shared\WorkUnitResult.cs (1)
157if (result._resultCode == WorkUnitResultCode.Canceled || result.ResultCode == WorkUnitResultCode.Failed)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockTaskBuilder.cs (2)
120return Task<WorkUnitResult>.FromResult(new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Continue, null)); 123return Task<WorkUnitResult>.FromResult(new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null));
BuildResultUtilities.cs (3)
42return new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, null); 47return new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Stop, e); 52return new WorkUnitResult(WorkUnitResultCode.Failed, WorkUnitActionCode.Continue, null);