2 writes to PreviousEntry
dotnet (2)
Commands\Run\VirtualProjectBuildingCommand.cs (2)
876
cache.
PreviousEntry
= previousCacheEntry;
1054
cache.
PreviousEntry
= GetPreviousCacheEntry();
28 references to PreviousEntry
dotnet (28)
Commands\Run\RunCommand.cs (3)
199
projectFactory = CanUseRunPropertiesForCscBuiltProgram(BuildLevel.None, cache?.
PreviousEntry
) ? null : projectBuilder.CreateProjectInstance;
200
cachedRunProperties = buildLevel != BuildLevel.All ? cache?.
PreviousEntry
?.Run : null;
476
projectFactory = CanUseRunPropertiesForCscBuiltProgram(projectBuilder.LastBuild.Level, projectBuilder.LastBuild.Cache?.
PreviousEntry
) ? null : projectBuilder.CreateProjectInstance;
Commands\Run\VirtualProjectBuildingCommand.cs (25)
220
cache?.CurrentEntry.Run = cache.
PreviousEntry
?.Run;
238
CscArguments = cache.
PreviousEntry
?.CscArguments ?? [],
239
BuildResultFile = cache.
PreviousEntry
?.BuildResultFile,
468
cache.CurrentEntry.CscArguments = cache.
PreviousEntry
?.CscArguments ?? [];
469
cache.CurrentEntry.BuildResultFile = cache.
PreviousEntry
?.BuildResultFile;
505
if (cache.
PreviousEntry
!= null)
507
foreach (var file in cache.
PreviousEntry
.AdditionalSources)
716
/// If <see cref="
PreviousEntry
"/> is <see langword="null"/> and this is
746
if (
PreviousEntry
?.CscArguments.IsDefaultOrEmpty == false)
757
if (
PreviousEntry
?.BuildLevel != BuildLevel.Csc)
760
$"(it was {
PreviousEntry
?.BuildLevel.ToString() ?? "N/A"}).");
1008
if (cache.
PreviousEntry
?.CscArguments.IsDefaultOrEmpty != false)
1012
else if (cache.
PreviousEntry
.Run == null)
1016
else if (cache.
PreviousEntry
.BuildResultFile == null)
1020
else if (!cache.
PreviousEntry
.Directives.SequenceEqual(cache.CurrentEntry.Directives))
1052
if (cache.
PreviousEntry
is null && !cache.TriedDeserializingPreviousEntry)
1084
Debug.Assert(cache.
PreviousEntry
!= null);
1085
cache.CurrentEntry.CscArguments = cache.
PreviousEntry
.CscArguments;
1086
cache.CurrentEntry.BuildResultFile = cache.
PreviousEntry
.BuildResultFile;
1087
cache.CurrentEntry.Run = cache.
PreviousEntry
.Run;
1128
if (cache.
PreviousEntry
!= null)
1133
if (!cache.
PreviousEntry
.CscArguments.IsDefaultOrEmpty)
1138
cache.
PreviousEntry
.CscArguments = [];
1139
cache.
PreviousEntry
.BuildResultFile = null;
1140
cache.
PreviousEntry
.Run = null;