1 write to _rarCacheFile
Microsoft.Build.Tasks.UnitTests (1)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
28_rarCacheFile = Path.Combine(tempPath, Guid.NewGuid() + ".UnitTest.RarCache");
10 references to _rarCacheFile
Microsoft.Build.Tasks.UnitTests (10)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (10)
37if (File.Exists(_rarCacheFile)) 39FileUtilities.DeleteNoThrow(_rarCacheFile); 56systemState.SerializeCache(_rarCacheFile, _taskLoggingHelper, serializeEmptyState: true); 58var deserialized = StateFileBase.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper); 68systemState.SerializeCache(_rarCacheFile, _taskLoggingHelper, serializeEmptyState: true); 69using (var cacheStream = new FileStream(_rarCacheFile, FileMode.Open, FileAccess.ReadWrite)) 76var deserialized = StateFileBase.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper); 86systemState.SerializeCache(_rarCacheFile, _taskLoggingHelper, serializeEmptyState: true); 87using (var cacheStream = new FileStream(_rarCacheFile, FileMode.Open, FileAccess.ReadWrite)) 94var deserialized = StateFileBase.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper);