1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
788CurrentEntry = 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)
198cache?.CurrentEntry.BuildLevel = buildLevel; 209cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 251cache.CurrentEntry.BuildLevel = buildLevel; 344cache.CurrentEntry.Run = LastRunProperties; 452cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 453cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 454Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 458cache.CurrentEntry.CscArguments = coreCompileResult.Items 463cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 464Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 487Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 493cache.CurrentEntry.AdditionalSources.Add(file); 500if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 505string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 543Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 562cache.CurrentEntry.AdditionalSources.Add(fullPath); 566cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 710/// The first of <see cref="CurrentEntry"/>'s <see cref="RunFileBuildCacheEntry.ImplicitBuildFiles"/> 861var cacheEntry = cache.CurrentEntry; 1004else 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);