2 types derived from ProjectRootElementCacheBase
Microsoft.Build (2)
Evaluation\ProjectRootElementCache.cs (1)
60internal class ProjectRootElementCache : ProjectRootElementCacheBase
Evaluation\SimpleProjectRootElementCache.cs (1)
26internal class SimpleProjectRootElementCache : ProjectRootElementCacheBase
50 references to ProjectRootElementCacheBase
Microsoft.Build (46)
BackEnd\BuildManager\BuildParameters.cs (2)
757internal ProjectRootElementCacheBase ProjectRootElementCache { get; set; } 1002private void Initialize(PropertyDictionary<ProjectPropertyInstance> environmentProperties, ProjectRootElementCacheBase projectRootElementCache, ToolsetProvider toolsetProvider)
BackEnd\Node\OutOfProcNode.cs (1)
42private static ProjectRootElementCacheBase s_projectRootElementCacheBase;
Construction\ProjectRootElement.cs (17)
57private static readonly ProjectRootElementCacheBase.OpenProjectRootElement s_openLoaderDelegate = OpenLoader; 59private static readonly ProjectRootElementCacheBase.OpenProjectRootElement s_openLoaderPreserveFormattingDelegate = OpenLoaderPreserveFormatting; 163internal ProjectRootElement(XmlReader xmlReader, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded, 181private ProjectRootElement(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions, bool isEphemeral) 191private ProjectRootElement(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions) 222ProjectRootElementCacheBase projectRootElementCache, 247private ProjectRootElement(XmlDocumentWithLocation document, ProjectRootElementCacheBase projectRootElementCache) 692internal ProjectRootElementCacheBase ProjectRootElementCache { get; } 730internal static ProjectRootElement CreateEphemeral(ProjectRootElementCacheBase projectRootElementCache) 1738internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache) 1743internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions) 1754internal static ProjectRootElement Open(string path, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded, 1787internal static ProjectRootElement OpenProjectOrSolution(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded) 2017private static ProjectRootElement OpenLoader(string path, ProjectRootElementCacheBase projectRootElementCache) 2022private static ProjectRootElement OpenLoaderPreserveFormatting(string path, ProjectRootElementCacheBase projectRootElementCache) 2027private static ProjectRootElement OpenLoader(string path, ProjectRootElementCacheBase projectRootElementCache, bool preserveFormatting) 2044ProjectRootElementCacheBase 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)
833internal TaskRegistry GetTaskRegistry(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 859internal TaskRegistry GetOverrideTaskRegistry(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 878private void RegisterDefaultTasks(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 984private void RegisterOverrideTasks(LoggingContext loggingContext, ProjectRootElementCacheBase projectRootElementCache) 1042private void LoadAndRegisterFromTasksFile(string[] defaultTaskFiles, LoggingContext loggingContext, string taskFileError, ProjectRootElementCacheBase projectRootElementCache, TaskRegistry registry)
Evaluation\ConditionEvaluator.cs (5)
191ProjectRootElementCacheBase? projectRootElementCache = null) 225ProjectRootElementCacheBase? projectRootElementCache = null) 377ProjectRootElementCacheBase? LoadedProjectsCache { get; } 418public ProjectRootElementCacheBase? LoadedProjectsCache { get; } 428ProjectRootElementCacheBase? projectRootElementCache = null)
Evaluation\Evaluator.cs (6)
168private readonly ProjectRootElementCacheBase _projectRootElementCache; 212ProjectRootElementCacheBase projectRootElementCache, 315ProjectRootElementCacheBase projectRootElementCache, 1932ProjectRootElement InnerCreate(string _, ProjectRootElementCacheBase __) 2418private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null) 2426private 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) 2930ProjectRootElementCacheBase projectRootElementCache,
Instance\TaskRegistry.cs (3)
178internal ProjectRootElementCacheBase RootElementCache { get; set; } 184internal TaskRegistry(ProjectRootElementCacheBase projectRootElementCache) 204internal TaskRegistry(Toolset toolset, ProjectRootElementCacheBase projectRootElementCache)
Microsoft.Build.Engine.UnitTests (4)
Evaluation\SimpleProjectRootElementCache_Tests.cs (4)
64ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) 82ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) 98ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg) => null; 114ProjectRootElement OpenFunc(string pathArg, ProjectRootElementCacheBase cacheArg)