2 writes to Results
Microsoft.Build (2)
BackEnd\Components\Caching\ResultsCache.cs (1)
220
response.
Results
= new BuildResult(request, allResults, targetsToAddResultsFor.ToArray(), null);
BackEnd\Components\Caching\ResultsCacheResponse.cs (1)
56
Results
= null;
11 references to Results
Microsoft.Build (4)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (3)
550
currentEntry.ReportResult(cacheResponse.
Results
);
1225
_nodeLoggingContext.LogRequestHandledFromCache(newRequest, _configCache[newRequest.ConfigurationId], response.
Results
);
1235
existingResultsToReport.Add(response.
Results
);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1954
return GetResponseForResult(nodeForResults, request, resultsResponse.
Results
);
Microsoft.Build.Engine.UnitTests (7)
BackEnd\ResultsCache_Tests.cs (7)
190
Assert.True(AreResultsIdenticalForTarget(result, response.
Results
, "testTarget2"));
191
Assert.False(response.
Results
.HasResultsForTarget("testTarget"));
192
Assert.Equal(BuildResultCode.Success, response.
Results
.OverallResult);
333
Assert.Equal("Value1", cachedResponseWithSubsetFlag1.
Results
.ProjectStateAfterBuild.GetPropertyValue("property1"));
334
Assert.Equal("Value2", cachedResponseWithSubsetFlag1.
Results
.ProjectStateAfterBuild.GetPropertyValue("property2"));
338
Assert.Equal("Value1", cachedResponseWithSubsetFlag2.
Results
.ProjectStateAfterBuild.GetPropertyValue("property1"));
339
Assert.Equal("", cachedResponseWithSubsetFlag2.
Results
.ProjectStateAfterBuild.GetPropertyValue("property2"));