1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
714CurrentEntry = cacheEntry,
19 references to CurrentEntry
dotnet (19)
Commands\Run\RunCommand.cs (1)
312cachedRunProperties = virtualCommand.LastBuild.Cache?.CurrentEntry.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (18)
220cache.CurrentEntry.BuildLevel = BuildLevel.All; 226cache.CurrentEntry.BuildLevel = buildLevel; 237cache.CurrentEntry.Run = cache.PreviousEntry?.Run; 356cache.CurrentEntry.Run = RunProperties.FromProject(buildRequest.ProjectInstance); 472cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 473cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 474Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 478cache.CurrentEntry.CscArguments = coreCompileResult.Items 483cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 484Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 783var cacheEntry = cache.CurrentEntry; 919else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 928cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 929cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 930cache.CurrentEntry.Run = cache.PreviousEntry.Run; 937var cacheEntry = cache.CurrentEntry; 1037JsonSerializer.Serialize(stream, cache.CurrentEntry, RunFileJsonSerializerContext.Default.RunFileBuildCacheEntry);