1 write to CurrentEntry
dotnet (1)
Commands\Run\FileBasedAppRunPlan.cs (1)
398CurrentEntry = cacheEntry,
26 references to CurrentEntry
dotnet (26)
Commands\Run\FileBasedAppRunPlan.cs (6)
228cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 229cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 230cache.CurrentEntry.Run = cache.PreviousEntry.Run; 235RunFileBuildCacheEntry cacheEntry = cache.CurrentEntry; 446RunFileBuildCacheEntry cacheEntry = cache.CurrentEntry; 575else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives))
Commands\Run\RunCommand.cs (1)
432cachedRunProperties = projectBuilder.LastRunProperties ?? projectBuilder.LastBuild.Cache?.CurrentEntry.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (19)
141cache?.CurrentEntry.BuildLevel = buildLevel; 152cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 194cache.CurrentEntry.BuildLevel = buildLevel; 287cache.CurrentEntry.Run = LastRunProperties; 395cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 396cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 397Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 401cache.CurrentEntry.CscArguments = coreCompileResult.Items 406cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 407Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 430Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 436cache.CurrentEntry.AdditionalSources.Add(file); 443if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 448string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 486Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 505cache.CurrentEntry.AdditionalSources.Add(fullPath); 509cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 718JsonSerializer.Serialize(stream, cache.CurrentEntry, RunFileBuildCacheJsonSerializerContext.Default.RunFileBuildCacheEntry);