2 types derived from ProjectRootElementCacheBase
Microsoft.Build (2)
Evaluation\ProjectRootElementCache.cs (1)
59internal class ProjectRootElementCache : ProjectRootElementCacheBase
Evaluation\SimpleProjectRootElementCache.cs (1)
26internal class SimpleProjectRootElementCache : ProjectRootElementCacheBase
50 references to ProjectRootElementCacheBase
Microsoft.Build (46)
BackEnd\BuildManager\BuildParameters.cs (2)
755internal ProjectRootElementCacheBase ProjectRootElementCache { get; set; } 1000private void Initialize(PropertyDictionary<ProjectPropertyInstance> environmentProperties, ProjectRootElementCacheBase projectRootElementCache, ToolsetProvider toolsetProvider)
BackEnd\Node\OutOfProcNode.cs (1)
44private static ProjectRootElementCacheBase s_projectRootElementCacheBase;
Construction\ProjectRootElement.cs (17)
57private static readonly ProjectRootElementCacheBase.OpenProjectRootElement s_openLoaderDelegate = OpenLoader; 59private static readonly ProjectRootElementCacheBase.OpenProjectRootElement s_openLoaderPreserveFormattingDelegate = OpenLoaderPreserveFormatting; 171internal ProjectRootElement(XmlReader xmlReader, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded, 189private ProjectRootElement(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions, bool isEphemeral) 199private ProjectRootElement(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions) 230ProjectRootElementCacheBase projectRootElementCache, 255private ProjectRootElement(XmlDocumentWithLocation document, ProjectRootElementCacheBase projectRootElementCache) 700internal ProjectRootElementCacheBase ProjectRootElementCache { get; } 738internal static ProjectRootElement CreateEphemeral(ProjectRootElementCacheBase projectRootElementCache) 1746internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache) 1751internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions) 1762internal static ProjectRootElement Open(string path, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded, 1795internal static ProjectRootElement OpenProjectOrSolution(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded) 2025private static ProjectRootElement OpenLoader(string path, ProjectRootElementCacheBase projectRootElementCache) 2030private static ProjectRootElement OpenLoaderPreserveFormatting(string path, ProjectRootElementCacheBase projectRootElementCache) 2035private static ProjectRootElement OpenLoader(string path, ProjectRootElementCacheBase projectRootElementCache, bool preserveFormatting) 2052ProjectRootElementCacheBase projectRootElementCache,
Definition\ProjectCollection.cs (3)
117private static ProjectRootElementCacheBase s_projectRootElementCache = null; 302/// <param name="reuseProjectRootElementCache">If set to true, it will try to reuse <see cref="ProjectRootElementCacheBase"/> singleton.</param> 982internal ProjectRootElementCacheBase ProjectRootElementCache { get; }
Definition\Toolset.cs (5)
834internal TaskRegistry GetTaskRegistry(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 860internal TaskRegistry GetOverrideTaskRegistry(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 879private void RegisterDefaultTasks(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 985private void RegisterOverrideTasks(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 1043private void LoadAndRegisterFromTasksFile(string[] defaultTaskFiles, LoggingContext loggingContext, string taskFileError, ProjectRootElementCacheBase projectRootElementCache, TaskRegistry registry)
Evaluation\ConditionEvaluator.cs (5)
190ProjectRootElementCacheBase? projectRootElementCache = null) 224ProjectRootElementCacheBase? projectRootElementCache = null) 376ProjectRootElementCacheBase? LoadedProjectsCache { get; } 417public ProjectRootElementCacheBase? LoadedProjectsCache { get; } 427ProjectRootElementCacheBase? projectRootElementCache = null)
Evaluation\Evaluator.cs (6)
168private readonly ProjectRootElementCacheBase _projectRootElementCache; 212ProjectRootElementCacheBase projectRootElementCache, 315ProjectRootElementCacheBase projectRootElementCache, 1935ProjectRootElement InnerCreate(string _, ProjectRootElementCacheBase __) 2421private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null) 2429private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null)
Evaluation\ProjectRootElementCacheBase.cs (1)
28internal delegate ProjectRootElement OpenProjectRootElement(string path, ProjectRootElementCacheBase cache);
Instance\ProjectInstance.cs (3)
1600internal ProjectRootElementCacheBase ProjectRootElementCache 2344internal void LateInitialize(ProjectRootElementCacheBase projectRootElementCache, HostServices hostServices) 2935ProjectRootElementCacheBase projectRootElementCache,
Instance\TaskRegistry.cs (3)
176internal ProjectRootElementCacheBase RootElementCache { get; set; } 182internal TaskRegistry(ProjectRootElementCacheBase projectRootElementCache) 202internal TaskRegistry(Toolset toolset, ProjectRootElementCacheBase projectRootElementCache)
Microsoft.Build.Engine.UnitTests (4)
Evaluation\SimpleProjectRootElementCache_Tests.cs (4)
63ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) 81ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) 97ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) => null; 113ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg)