2 writes to PreviousEntry
dotnet (2)
Commands\Run\VirtualProjectBuildingCommand.cs (2)
876cache.PreviousEntry = previousCacheEntry; 1054cache.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)
220cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 238CscArguments = cache.PreviousEntry?.CscArguments ?? [], 239BuildResultFile = cache.PreviousEntry?.BuildResultFile, 468cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 469cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 505if (cache.PreviousEntry != null) 507foreach (var file in cache.PreviousEntry.AdditionalSources) 716/// If <see cref="PreviousEntry"/> is <see langword="null"/> and this is 746if (PreviousEntry?.CscArguments.IsDefaultOrEmpty == false) 757if (PreviousEntry?.BuildLevel != BuildLevel.Csc) 760$"(it was {PreviousEntry?.BuildLevel.ToString() ?? "N/A"})."); 1008if (cache.PreviousEntry?.CscArguments.IsDefaultOrEmpty != false) 1012else if (cache.PreviousEntry.Run == null) 1016else if (cache.PreviousEntry.BuildResultFile == null) 1020else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 1052if (cache.PreviousEntry is null && !cache.TriedDeserializingPreviousEntry) 1084Debug.Assert(cache.PreviousEntry != null); 1085cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1086cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 1087cache.CurrentEntry.Run = cache.PreviousEntry.Run; 1128if (cache.PreviousEntry != null) 1133if (!cache.PreviousEntry.CscArguments.IsDefaultOrEmpty) 1138cache.PreviousEntry.CscArguments = []; 1139cache.PreviousEntry.BuildResultFile = null; 1140cache.PreviousEntry.Run = null;