1 write to PreviousEntry
dotnet-aot (1)
parent\dotnet\Commands\Run\FileBasedAppRunPlan.cs (1)
450
cache.
PreviousEntry
= previousCacheEntry;
18 references to PreviousEntry
dotnet-aot (18)
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 (15)
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;
231
cache.CurrentEntry.BuildOutputs = cache.
PreviousEntry
.BuildOutputs;
270
if (cache.
PreviousEntry
!= null)
274
if (!cache.
PreviousEntry
.CscArguments.IsDefaultOrEmpty)
279
cache.
PreviousEntry
.CscArguments = [];
280
cache.
PreviousEntry
.BuildResultFile = null;
281
cache.
PreviousEntry
.Run = null;
581
if (cache.
PreviousEntry
?.CscArguments.IsDefaultOrEmpty != false)
585
else if (cache.
PreviousEntry
.Run == null)
589
else if (cache.
PreviousEntry
.BuildResultFile == null)
593
else if (!cache.
PreviousEntry
.Directives.SequenceEqual(cache.CurrentEntry.Directives))