2 writes to _resultsCache
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (2)
687
_resultsCache
= ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache);
834
_resultsCache
= ((IBuildComponentHost)this).GetComponent<IResultsCache>(BuildComponentType.ResultsCache);
12 references to _resultsCache
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (12)
703
_resultsCache
!.ClearResultsForConfiguration(configurationId);
810
_resultsCache
!.AddResult(result);
835
_resultsCache
!.ClearResults();
995
BuildResult result =
_resultsCache
!.GetResultsForConfiguration(projectStartedEvent.Value.BuildEventContext!.ProjectInstanceId);
1015
_resultsCache
!.ClearResults();
1107
_resultsCache
,
2244
_resultsCache
!.ClearResultsForConfiguration(existingConfiguration.ConfigurationId);
2314
_resultsCache
!.AddResult(result);
2347
_resultsCache
!.AddResult(new BuildResult(request, e));
2512
_resultsCache
!.AddResult(new BuildResult(buildSubmission.BuildRequest,
2594
BuildResult? result = submission.BuildRequest == null ? null :
_resultsCache
?.GetResultsForConfiguration(submission.BuildRequest.ConfigurationId);
3174
ErrorUtilities.VerifyThrow(
_resultsCache
== null, "caches must not be set at this point");