3 writes to _cache
Microsoft.Build.Tasks.Core (3)
AssemblyDependency\ResolveAssemblyReference.cs (3)
2233
_cache
= SystemState.DeserializeCache<SystemState>(_stateFile, Log);
2238
_cache
= SystemState.DeserializePrecomputedCaches(AssemblyInformationCachePaths, Log, fileExists, TaskEnvironment);
2243
_cache
= new SystemState();
15 references to _cache
Microsoft.Build.Tasks.Core (15)
AssemblyDependency\ResolveAssemblyReference.cs (15)
2236
if (
_cache
== null && AssemblyInformationCachePaths != null && AssemblyInformationCachePaths.Length > 0)
2241
if (
_cache
== null)
2254
_cache
.SerializePrecomputedCache(_assemblyInformationCacheOutputPath, Log);
2256
else if (_stateFile.Value is not null && (
_cache
.IsDirty ||
_cache
.instanceLocalOutgoingFileStateCache.Count <
_cache
.instanceLocalFileStateCache.Count))
2260
_cache
.SerializeCache(_stateFile, Log);
2489
_cache
.SetInstalledAssemblyInformation(installedAssemblyTableInfo);
2492
getAssemblyMetadata =
_cache
.CacheDelegate(getAssemblyMetadata);
2493
fileExists =
_cache
.CacheDelegate();
2494
directoryExists =
_cache
.CacheDelegate(directoryExists);
2495
getDirectories =
_cache
.CacheDelegate(getDirectories);
2500
_cache
.SetGetLastWriteTime(path =>
2513
getAssemblyName =
_cache
.CacheDelegate(path =>
2520
getRuntimeVersion =
_cache
.CacheDelegate(path =>