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)
37
if (File.Exists(
_rarCacheFile
))
39
FileUtilities.DeleteNoThrow(
_rarCacheFile
);
56
systemState.SerializeCache(
_rarCacheFile
, _taskLoggingHelper, serializeEmptyState: true);
58
var deserialized = StateFileBase.DeserializeCache<SystemState>(
_rarCacheFile
, _taskLoggingHelper);
68
systemState.SerializeCache(
_rarCacheFile
, _taskLoggingHelper, serializeEmptyState: true);
69
using (var cacheStream = new FileStream(
_rarCacheFile
, FileMode.Open, FileAccess.ReadWrite))
76
var deserialized = StateFileBase.DeserializeCache<SystemState>(
_rarCacheFile
, _taskLoggingHelper);
86
systemState.SerializeCache(
_rarCacheFile
, _taskLoggingHelper, serializeEmptyState: true);
87
using (var cacheStream = new FileStream(
_rarCacheFile
, FileMode.Open, FileAccess.ReadWrite))
94
var deserialized = StateFileBase.DeserializeCache<SystemState>(
_rarCacheFile
, _taskLoggingHelper);