1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
804CurrentEntry = 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)
209cache?.CurrentEntry.BuildLevel = buildLevel; 220cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 262cache.CurrentEntry.BuildLevel = buildLevel; 360cache.CurrentEntry.Run = LastRunProperties; 468cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 469cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 470Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 474cache.CurrentEntry.CscArguments = coreCompileResult.Items 479cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 480Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 503Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 509cache.CurrentEntry.AdditionalSources.Add(file); 516if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 521string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 559Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 578cache.CurrentEntry.AdditionalSources.Add(fullPath); 582cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 726/// The first of <see cref="CurrentEntry"/>'s <see cref="RunFileBuildCacheEntry.ImplicitBuildFiles"/> 877var cacheEntry = cache.CurrentEntry; 1020else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 1085cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1086cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 1087cache.CurrentEntry.Run = cache.PreviousEntry.Run; 1093var cacheEntry = cache.CurrentEntry; 1193JsonSerializer.Serialize(stream, cache.CurrentEntry, RunFileJsonSerializerContext.Default.RunFileBuildCacheEntry);