20 references to new
Microsoft.Build (13)
BackEnd\BuildManager\BuildManager.cs (3)
1871
ReportResultsToSubmission<BuildRequestData, BuildResult>(new
BuildResult
(submission.BuildRequest!, ex));
2347
_resultsCache!.AddResult(new
BuildResult
(request, e));
2512
_resultsCache!.AddResult(new
BuildResult
(buildSubmission.BuildRequest,
BackEnd\BuildManager\BuildSubmission.cs (1)
219
return
new
(BuildRequest!, exception);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
273
BuildResult result = entry.Result ?? new
BuildResult
(entry.Request, new BuildAbortedException());
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
434
_outstandingResults[requestEntry.Key] = new
BuildResult
(requestEntry.Value, new BuildAbortedException());
444
_outstandingResults[request.NodeRequestId] = new
BuildResult
(request, new BuildAbortedException());
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
866
result = new
BuildResult
(_requestEntry.Request, thrownException);
1019
results[i] = new
BuildResult
(new BuildRequest(), new BuildAbortedException());
BackEnd\Components\Scheduler\Scheduler.cs (2)
1608
_resultsCache.AddResult(new
BuildResult
(request.BuildRequest, new BuildAbortedException()));
1772
var result = new
BuildResult
(
BackEnd\Shared\BuildResult.cs (2)
162
:
this
(request, null)
182
:
this
(request, null)
Microsoft.Build.Engine.UnitTests (7)
BackEnd\BuildRequestEngine_Tests.cs (4)
105
BuildResult errorResult = new
BuildResult
(_entry.Request, new InvalidOperationException("ContinueRequest not received in time."));
115
BuildResult res = new
BuildResult
(_entry.Request, new BuildAbortedException());
128
BuildResult res = new
BuildResult
(_entry.Request, new BuildAbortedException());
147
BuildResult errorResult = new
BuildResult
(_entry.Request, new InvalidOperationException("ContinueRequest not received in time."));
BackEnd\BuildResult_Tests.cs (2)
86
result = new
BuildResult
(request, e);
314
BuildResult result = new
BuildResult
(request, new BuildAbortedException());
BackEnd\ResultsCache_Tests.cs (1)
130
BuildResult result2 = new
BuildResult
(request, new Exception("Test exception"));