4 references to GetStopWithErrorResult
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildResult_Tests.cs (2)
104
result.AddResultsForTarget("baz", new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.
GetStopWithErrorResult
(new Exception())));
324
result.AddResultsForTarget("omega", new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.
GetStopWithErrorResult
(new ArgumentException("The argument was invalid"))));
BackEnd\TargetResult_Tests.cs (2)
65
TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.
GetStopWithErrorResult
(new ArgumentException()));
118
TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.
GetStopWithErrorResult
(new BuildAbortedException()));