1 write to instanceLocalFileStateCache
Microsoft.Build.Tasks.Core (1)
SystemState.cs (1)
272
ref (translator.Mode == TranslationDirection.WriteToStream) ? ref instanceLocalOutgoingFileStateCache : ref
instanceLocalFileStateCache
,
12 references to instanceLocalFileStateCache
Microsoft.Build.Tasks.Core (12)
AssemblyDependency\ResolveAssemblyReference.cs (1)
2256
else if (_stateFile.Value is not null && (_cache.IsDirty || _cache.instanceLocalOutgoingFileStateCache.Count < _cache.
instanceLocalFileStateCache
.Count))
SystemState.cs (11)
28
/// Cache at the SystemState instance level. Has the same contents as <see cref="
instanceLocalFileStateCache
"/>.
45
/// Cache at the SystemState instance level. It is serialized to disk and reused between instances via <see cref="
instanceLocalFileStateCache
"/>.
266
if (
instanceLocalFileStateCache
is null)
268
throw new NullReferenceException(nameof(
instanceLocalFileStateCache
));
285
/// Flag that indicates that <see cref="
instanceLocalFileStateCache
"/> has been modified.
386
bool isCachedInInstance =
instanceLocalFileStateCache
.TryGetValue(path, out FileState cachedInstanceFileState);
400
instanceLocalFileStateCache
[path] = cachedProcessFileState;
441
instanceLocalFileStateCache
[path] = fileState;
616
foreach (KeyValuePair<string, FileState> kvp in sysState.
instanceLocalFileStateCache
)
627
retVal.
instanceLocalFileStateCache
[fullPath] = fileState;
647
instanceLocalOutgoingFileStateCache =
instanceLocalFileStateCache
.ToDictionary(kvp => FileUtilities.MakeRelative(Path.GetDirectoryName(stateFile), kvp.Key), kvp => kvp.Value);