1 write to PreviousEntry
dotnet-aot (1)
parent\dotnet\Commands\Run\FileBasedAppRunPlan.cs (1)
445
cache.
PreviousEntry
= previousCacheEntry;
17 references to PreviousEntry
dotnet-aot (17)
parent\dotnet\Commands\Run\FileBasedAppCacheInfo.cs (3)
52
if (
PreviousEntry
?.CscArguments.IsDefaultOrEmpty == false)
63
if (
PreviousEntry
?.BuildLevel != BuildLevel.Csc)
66
$"(it was {
PreviousEntry
?.BuildLevel.ToString() ?? "N/A"}).");
parent\dotnet\Commands\Run\FileBasedAppRunPlan.cs (14)
162
if (analyzedPlan is not { Tier: RunTier.CachedLaunch, Cache.
PreviousEntry
: { } validatedEntry } ||
227
Debug.Assert(cache.
PreviousEntry
!= null);
228
cache.CurrentEntry.CscArguments = cache.
PreviousEntry
.CscArguments;
229
cache.CurrentEntry.BuildResultFile = cache.
PreviousEntry
.BuildResultFile;
230
cache.CurrentEntry.Run = cache.
PreviousEntry
.Run;
269
if (cache.
PreviousEntry
!= null)
273
if (!cache.
PreviousEntry
.CscArguments.IsDefaultOrEmpty)
278
cache.
PreviousEntry
.CscArguments = [];
279
cache.
PreviousEntry
.BuildResultFile = null;
280
cache.
PreviousEntry
.Run = null;
563
if (cache.
PreviousEntry
?.CscArguments.IsDefaultOrEmpty != false)
567
else if (cache.
PreviousEntry
.Run == null)
571
else if (cache.
PreviousEntry
.BuildResultFile == null)
575
else if (!cache.
PreviousEntry
.Directives.SequenceEqual(cache.CurrentEntry.Directives))