1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
803CurrentEntry = cacheEntry,
27 references to CurrentEntry
dotnet (27)
Commands\Run\RunCommand.cs (1)
477cachedRunProperties = projectBuilder.LastRunProperties ?? projectBuilder.LastBuild.Cache?.CurrentEntry.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (26)
208cache?.CurrentEntry.BuildLevel = BuildLevel.All; 214cache?.CurrentEntry.BuildLevel = buildLevel; 225cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 359cache.CurrentEntry.Run = LastRunProperties; 467cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 468cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 469Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 473cache.CurrentEntry.CscArguments = coreCompileResult.Items 478cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 479Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 502Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 508cache.CurrentEntry.AdditionalSources.Add(file); 515if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 520string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 558Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 577cache.CurrentEntry.AdditionalSources.Add(fullPath); 581cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 725/// The first of <see cref="CurrentEntry"/>'s <see cref="RunFileBuildCacheEntry.ImplicitBuildFiles"/> 876var cacheEntry = cache.CurrentEntry; 1011else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 1069cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1070cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 1071cache.CurrentEntry.Run = cache.PreviousEntry.Run; 1077var cacheEntry = cache.CurrentEntry; 1177JsonSerializer.Serialize(stream, cache.CurrentEntry, RunFileJsonSerializerContext.Default.RunFileBuildCacheEntry);