10 writes to ProjectRootElementCache
Microsoft.Build (6)
BackEnd\BuildManager\BuildManager.cs (2)
1256
_buildParameters!.
ProjectRootElementCache
= projectInstance.ProjectRootElementCache;
1264
_buildParameters!.
ProjectRootElementCache
=
BackEnd\BuildManager\BuildParameters.cs (2)
296
ProjectRootElementCache
= other.ProjectRootElementCache;
980
ProjectRootElementCache
= projectRootElementCache;
BackEnd\Node\OutOfProcNode.cs (1)
697
_buildParameters.
ProjectRootElementCache
= s_projectRootElementCacheBase;
Instance\ProjectInstance.cs (1)
2718
parameters.
ProjectRootElementCache
= ProjectRootElementCache;
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildManager_Tests.cs (3)
2049
_parameters.
ProjectRootElementCache
= _projectCollection.ProjectRootElementCache;
2105
_parameters.
ProjectRootElementCache
= projectCollection.ProjectRootElementCache;
2125
_parameters.
ProjectRootElementCache
= projectCollection.ProjectRootElementCache;
BackEnd\MockHost.cs (1)
91
_buildParameters.
ProjectRootElementCache
= new ProjectRootElementCache(false);
14 references to ProjectRootElementCache
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (6)
712
_buildParameters.
ProjectRootElementCache
.DiscardImplicitReferences();
839
_buildParameters?.
ProjectRootElementCache
.DiscardImplicitReferences();
1251
_buildParameters!.
ProjectRootElementCache
== projectInstance.ProjectRootElementCache,
1260
else if (_buildParameters!.
ProjectRootElementCache
== null)
2174
_buildParameters?.
ProjectRootElementCache
.Clear();
2739
_buildParameters?.
ProjectRootElementCache
?.Clear();
BackEnd\BuildManager\BuildParameters.cs (1)
296
ProjectRootElementCache = other.
ProjectRootElementCache
;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
510
_project.LateInitialize(buildParameters.
ProjectRootElementCache
, buildParameters.HostServices);
Instance\ProjectInstance.cs (6)
310
ProjectRootElement xml = ProjectRootElement.OpenProjectOrSolution(projectFile, globalProperties, toolsVersion, buildParameters.
ProjectRootElementCache
, true /*Explicitly Loaded*/);
619
ProjectRootElement xml = ProjectRootElement.OpenProjectOrSolution(projectFile, globalProperties, toolsVersion, buildParameters.
ProjectRootElementCache
, false /*Not explicitly loaded*/);
2565
projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, toolsVersion, buildParameters.
ProjectRootElementCache
, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId);
2628
projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, "2.0", buildParameters.
ProjectRootElementCache
, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId);
2633
projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, "3.5", buildParameters.
ProjectRootElementCache
, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId);
3102
this.ProjectRootElementCache = buildParameters.
ProjectRootElementCache
;