2 writes to PreviousEntry
dotnet (2)
Commands\Run\VirtualProjectBuildingCommand.cs (2)
860cache.PreviousEntry = previousCacheEntry; 1038cache.PreviousEntry = GetPreviousCacheEntry();
28 references to PreviousEntry
dotnet (28)
Commands\Run\RunCommand.cs (3)
199projectFactory = CanUseRunPropertiesForCscBuiltProgram(BuildLevel.None, cache?.PreviousEntry) ? null : projectBuilder.CreateProjectInstance; 200cachedRunProperties = buildLevel != BuildLevel.All ? cache?.PreviousEntry?.Run : null; 476projectFactory = CanUseRunPropertiesForCscBuiltProgram(projectBuilder.LastBuild.Level, projectBuilder.LastBuild.Cache?.PreviousEntry) ? null : projectBuilder.CreateProjectInstance;
Commands\Run\VirtualProjectBuildingCommand.cs (25)
209cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 227CscArguments = cache.PreviousEntry?.CscArguments ?? [], 228BuildResultFile = cache.PreviousEntry?.BuildResultFile, 452cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 453cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 489if (cache.PreviousEntry != null) 491foreach (var file in cache.PreviousEntry.AdditionalSources) 700/// If <see cref="PreviousEntry"/> is <see langword="null"/> and this is 730if (PreviousEntry?.CscArguments.IsDefaultOrEmpty == false) 741if (PreviousEntry?.BuildLevel != BuildLevel.Csc) 744$"(it was {PreviousEntry?.BuildLevel.ToString() ?? "N/A"})."); 992if (cache.PreviousEntry?.CscArguments.IsDefaultOrEmpty != false) 996else if (cache.PreviousEntry.Run == null) 1000else if (cache.PreviousEntry.BuildResultFile == null) 1004else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 1036if (cache.PreviousEntry is null && !cache.TriedDeserializingPreviousEntry) 1068Debug.Assert(cache.PreviousEntry != null); 1069cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1070cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 1071cache.CurrentEntry.Run = cache.PreviousEntry.Run; 1112if (cache.PreviousEntry != null) 1117if (!cache.PreviousEntry.CscArguments.IsDefaultOrEmpty) 1122cache.PreviousEntry.CscArguments = []; 1123cache.PreviousEntry.BuildResultFile = null; 1124cache.PreviousEntry.Run = null;