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)
296ProjectRootElementCache = other.ProjectRootElementCache; 980ProjectRootElementCache = projectRootElementCache;
BackEnd\Node\OutOfProcNode.cs (1)
697_buildParameters.ProjectRootElementCache = s_projectRootElementCacheBase;
Instance\ProjectInstance.cs (1)
2718parameters.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, 1260else if (_buildParameters!.ProjectRootElementCache == null) 2174_buildParameters?.ProjectRootElementCache.Clear(); 2739_buildParameters?.ProjectRootElementCache?.Clear();
BackEnd\BuildManager\BuildParameters.cs (1)
296ProjectRootElementCache = other.ProjectRootElementCache;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
510_project.LateInitialize(buildParameters.ProjectRootElementCache, buildParameters.HostServices);
Instance\ProjectInstance.cs (6)
310ProjectRootElement xml = ProjectRootElement.OpenProjectOrSolution(projectFile, globalProperties, toolsVersion, buildParameters.ProjectRootElementCache, true /*Explicitly Loaded*/); 619ProjectRootElement xml = ProjectRootElement.OpenProjectOrSolution(projectFile, globalProperties, toolsVersion, buildParameters.ProjectRootElementCache, false /*Not explicitly loaded*/); 2565projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, toolsVersion, buildParameters.ProjectRootElementCache, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId); 2628projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, "2.0", buildParameters.ProjectRootElementCache, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId); 2633projectInstances = GenerateSolutionWrapperUsingOldOM(projectFile, globalProperties, "3.5", buildParameters.ProjectRootElementCache, buildParameters, loggingService, projectBuildEventContext, isExplicitlyLoaded, sdkResolverService, submissionId); 3102this.ProjectRootElementCache = buildParameters.ProjectRootElementCache;