4 types derived from StateFileBase
Microsoft.Build.Tasks.Core (4)
AssemblyRegistrationCache.cs (1)
15
internal sealed class AssemblyRegistrationCache :
StateFileBase
, ITranslatable
ResGenDependencies.cs (1)
27
internal sealed class ResGenDependencies :
StateFileBase
, ITranslatable
ResolveComReferenceCache.cs (1)
20
internal sealed class ResolveComReferenceCache :
StateFileBase
, ITranslatable
SystemState.cs (1)
25
internal sealed class SystemState :
StateFileBase
, ITranslatable
14 references to StateFileBase
Microsoft.Build.Tasks.Core (6)
RegisterAssembly.cs (1)
84
cacheFile =
StateFileBase
.DeserializeCache<AssemblyRegistrationCache>(AssemblyListFile.ItemSpec, Log) ??
ResolveComReference.cs (1)
327
_timestampCache =
StateFileBase
.DeserializeCache<ResolveComReferenceCache>(StateFile, Log);
StateFileBase.cs (1)
76
internal static T DeserializeCache<T>(string stateFile, TaskLoggingHelper log) where T :
StateFileBase
UnregisterAssembly.cs (3)
60
cacheFile =
StateFileBase
.DeserializeCache<AssemblyRegistrationCache>(AssemblyListFile.ItemSpec, Log);
65
StateFileBase
.DeleteFile(AssemblyListFile.ItemSpec, Log);
137
StateFileBase
.DeleteFile(AssemblyListFile.ItemSpec, Log);
Microsoft.Build.Tasks.UnitTests (8)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (8)
58
var deserialized =
StateFileBase
.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper);
72
cacheStream.WriteByte(
StateFileBase
.CurrentSerializationVersion);
76
var deserialized =
StateFileBase
.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper);
90
cacheStream.WriteByte(
StateFileBase
.CurrentSerializationVersion - 1);
94
var deserialized =
StateFileBase
.DeserializeCache<SystemState>(_rarCacheFile, _taskLoggingHelper);
126
sysState2 =
StateFileBase
.DeserializeCache<SystemState>(file.Path, null);
162
sysState2 =
StateFileBase
.DeserializeCache<SystemState>(file.Path, null);
188
sysState2 =
StateFileBase
.DeserializeCache<SystemState>(file.Path, null);