2 writes to PreviousEntry
dotnet (2)
Commands\Run\VirtualProjectBuildingCommand.cs (2)
860
cache.
PreviousEntry
= previousCacheEntry;
1038
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)
209
cache?.CurrentEntry.Run = cache.
PreviousEntry
?.Run;
227
CscArguments = cache.
PreviousEntry
?.CscArguments ?? [],
228
BuildResultFile = cache.
PreviousEntry
?.BuildResultFile,
452
cache.CurrentEntry.CscArguments = cache.
PreviousEntry
?.CscArguments ?? [];
453
cache.CurrentEntry.BuildResultFile = cache.
PreviousEntry
?.BuildResultFile;
489
if (cache.
PreviousEntry
!= null)
491
foreach (var file in cache.
PreviousEntry
.AdditionalSources)
700
/// If <see cref="
PreviousEntry
"/> is <see langword="null"/> and this is
730
if (
PreviousEntry
?.CscArguments.IsDefaultOrEmpty == false)
741
if (
PreviousEntry
?.BuildLevel != BuildLevel.Csc)
744
$"(it was {
PreviousEntry
?.BuildLevel.ToString() ?? "N/A"}).");
992
if (cache.
PreviousEntry
?.CscArguments.IsDefaultOrEmpty != false)
996
else if (cache.
PreviousEntry
.Run == null)
1000
else if (cache.
PreviousEntry
.BuildResultFile == null)
1004
else if (!cache.
PreviousEntry
.Directives.SequenceEqual(cache.CurrentEntry.Directives))
1036
if (cache.
PreviousEntry
is null && !cache.TriedDeserializingPreviousEntry)
1068
Debug.Assert(cache.
PreviousEntry
!= null);
1069
cache.CurrentEntry.CscArguments = cache.
PreviousEntry
.CscArguments;
1070
cache.CurrentEntry.BuildResultFile = cache.
PreviousEntry
.BuildResultFile;
1071
cache.CurrentEntry.Run = cache.
PreviousEntry
.Run;
1112
if (cache.
PreviousEntry
!= null)
1117
if (!cache.
PreviousEntry
.CscArguments.IsDefaultOrEmpty)
1122
cache.
PreviousEntry
.CscArguments = [];
1123
cache.
PreviousEntry
.BuildResultFile = null;
1124
cache.
PreviousEntry
.Run = null;