3 writes to instanceLocalOutgoingFileStateCache
Microsoft.Build.Tasks.Core (3)
SystemState.cs (3)
269ref (translator.Mode == TranslationDirection.WriteToStream) ? ref instanceLocalOutgoingFileStateCache : ref instanceLocalFileStateCache, 613instanceLocalOutgoingFileStateCache = instanceLocalFileStateCache.ToDictionary(kvp => FileUtilities.MakeRelative(Path.GetDirectoryName(stateFile), kvp.Key), kvp => kvp.Value); 625instanceLocalOutgoingFileStateCache = oldFileStateCache;
8 references to instanceLocalOutgoingFileStateCache
Microsoft.Build.Tasks.Core (8)
AssemblyDependency\ResolveAssemblyReference.cs (1)
2075else if (!string.IsNullOrEmpty(_stateFile) && (_cache.IsDirty || _cache.instanceLocalOutgoingFileStateCache.Count < _cache.instanceLocalFileStateCache.Count))
SystemState.cs (7)
38/// <see cref="FileState"/> objects that get actually used are inserted into <see cref="instanceLocalOutgoingFileStateCache"/>. 39/// After execution, <see cref="instanceLocalOutgoingFileStateCache"/> is serialized and written to disk if it's different from 279internal override bool HasStateToSave => instanceLocalOutgoingFileStateCache.Count > 0; 402instanceLocalOutgoingFileStateCache[path] = cachedProcessFileState; 411instanceLocalOutgoingFileStateCache[path] = cachedInstanceFileState; 439instanceLocalOutgoingFileStateCache[path] = fileState; 612Dictionary<string, FileState> oldFileStateCache = instanceLocalOutgoingFileStateCache;