2 types derived from ProjectRootElementCacheBase
Microsoft.Build (2)
Evaluation\ProjectRootElementCache.cs (1)
59
internal class ProjectRootElementCache :
ProjectRootElementCacheBase
Evaluation\SimpleProjectRootElementCache.cs (1)
26
internal class SimpleProjectRootElementCache :
ProjectRootElementCacheBase
51 references to ProjectRootElementCacheBase
Microsoft.Build (47)
BackEnd\BuildManager\BuildParameters.cs (2)
785
internal
ProjectRootElementCacheBase
ProjectRootElementCache { get; set; }
1035
private void Initialize(PropertyDictionary<ProjectPropertyInstance> environmentProperties,
ProjectRootElementCacheBase
projectRootElementCache, ToolsetProvider toolsetProvider)
BackEnd\Node\OutOfProcNode.cs (1)
46
private static
ProjectRootElementCacheBase
s_projectRootElementCacheBase;
Construction\ProjectRootElement.cs (17)
57
private static readonly
ProjectRootElementCacheBase
.OpenProjectRootElement s_openLoaderDelegate = OpenLoader;
59
private static readonly
ProjectRootElementCacheBase
.OpenProjectRootElement s_openLoaderPreserveFormattingDelegate = OpenLoaderPreserveFormatting;
171
internal ProjectRootElement(XmlReader xmlReader,
ProjectRootElementCacheBase
projectRootElementCache, bool isExplicitlyLoaded,
189
private ProjectRootElement(
ProjectRootElementCacheBase
projectRootElementCache, NewProjectFileOptions projectFileOptions, bool isEphemeral)
199
private ProjectRootElement(
ProjectRootElementCacheBase
projectRootElementCache, NewProjectFileOptions projectFileOptions)
230
ProjectRootElementCacheBase
projectRootElementCache,
255
private ProjectRootElement(XmlDocumentWithLocation document,
ProjectRootElementCacheBase
projectRootElementCache)
700
internal
ProjectRootElementCacheBase
ProjectRootElementCache { get; }
738
internal static ProjectRootElement CreateEphemeral(
ProjectRootElementCacheBase
projectRootElementCache)
1746
internal static ProjectRootElement Create(
ProjectRootElementCacheBase
projectRootElementCache)
1751
internal static ProjectRootElement Create(
ProjectRootElementCacheBase
projectRootElementCache, NewProjectFileOptions projectFileOptions)
1762
internal static ProjectRootElement Open(string path,
ProjectRootElementCacheBase
projectRootElementCache, bool isExplicitlyLoaded,
1795
internal static ProjectRootElement OpenProjectOrSolution(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion,
ProjectRootElementCacheBase
projectRootElementCache, bool isExplicitlyLoaded)
2025
private static ProjectRootElement OpenLoader(string path,
ProjectRootElementCacheBase
projectRootElementCache)
2030
private static ProjectRootElement OpenLoaderPreserveFormatting(string path,
ProjectRootElementCacheBase
projectRootElementCache)
2035
private static ProjectRootElement OpenLoader(string path,
ProjectRootElementCacheBase
projectRootElementCache, bool preserveFormatting)
2052
ProjectRootElementCacheBase
projectRootElementCache,
Definition\ProjectCollection.cs (4)
117
private static
ProjectRootElementCacheBase
s_projectRootElementCache = null;
303
/// <param name="reuseProjectRootElementCache">If set to true, it will try to reuse <see cref="
ProjectRootElementCacheBase
"/> singleton.</param>
327
/// <param name="reuseProjectRootElementCache">If set to true, it will try to reuse <see cref="
ProjectRootElementCacheBase
"/> singleton.</param>
1038
internal
ProjectRootElementCacheBase
ProjectRootElementCache { get; }
Definition\Toolset.cs (5)
715
internal TaskRegistry GetTaskRegistry(LoggingContext loggingContext,
ProjectRootElementCacheBase
projectRootElementCache)
741
internal TaskRegistry GetOverrideTaskRegistry(LoggingContext loggingContext,
ProjectRootElementCacheBase
projectRootElementCache)
760
private void RegisterDefaultTasks(LoggingContext loggingContext,
ProjectRootElementCacheBase
projectRootElementCache)
873
private void RegisterOverrideTasks(LoggingContext loggingContext,
ProjectRootElementCacheBase
projectRootElementCache)
938
private void LoadAndRegisterFromTasksFile(string[] defaultTaskFiles, LoggingContext loggingContext, string taskFileError,
ProjectRootElementCacheBase
projectRootElementCache, TaskRegistry registry)
Evaluation\ConditionEvaluator.cs (5)
190
ProjectRootElementCacheBase
? projectRootElementCache = null)
224
ProjectRootElementCacheBase
? projectRootElementCache = null)
384
ProjectRootElementCacheBase
? LoadedProjectsCache { get; }
425
public
ProjectRootElementCacheBase
? LoadedProjectsCache { get; }
435
ProjectRootElementCacheBase
? projectRootElementCache = null)
Evaluation\Evaluator.cs (6)
168
private readonly
ProjectRootElementCacheBase
_projectRootElementCache;
212
ProjectRootElementCacheBase
projectRootElementCache,
315
ProjectRootElementCacheBase
projectRootElementCache,
1969
ProjectRootElement InnerCreate(string _,
ProjectRootElementCacheBase
__)
2455
private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, ExpanderOptions expanderOptions, ParserOptions parserOptions,
ProjectRootElementCacheBase
projectRootElementCache = null)
2463
private bool EvaluateConditionCollectingConditionedProperties(ProjectElement element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions,
ProjectRootElementCacheBase
projectRootElementCache = null)
Evaluation\ProjectRootElementCacheBase.cs (1)
28
internal delegate ProjectRootElement OpenProjectRootElement(string path,
ProjectRootElementCacheBase
cache);
Instance\ProjectInstance.cs (3)
1674
internal
ProjectRootElementCacheBase
ProjectRootElementCache
2427
internal void LateInitialize(
ProjectRootElementCacheBase
projectRootElementCache, HostServices hostServices)
3023
ProjectRootElementCacheBase
projectRootElementCache,
Instance\TaskRegistry.cs (3)
169
internal
ProjectRootElementCacheBase
RootElementCache { get; set; }
175
internal TaskRegistry(
ProjectRootElementCacheBase
projectRootElementCache)
195
internal TaskRegistry(Toolset toolset,
ProjectRootElementCacheBase
projectRootElementCache)
Microsoft.Build.Engine.UnitTests (4)
Evaluation\SimpleProjectRootElementCache_Tests.cs (4)
63
ProjectRootElement OpenFunc(string pathArg,
ProjectRootElementCacheBase
cacheArg)
81
ProjectRootElement OpenFunc(string pathArg,
ProjectRootElementCacheBase
cacheArg)
97
ProjectRootElement OpenFunc(string pathArg,
ProjectRootElementCacheBase
cacheArg) => null;
113
ProjectRootElement OpenFunc(string pathArg,
ProjectRootElementCacheBase
cacheArg)