1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
798CurrentEntry = cacheEntry,
27 references to CurrentEntry
dotnet (27)
Commands\Run\RunCommand.cs (1)
476cachedRunProperties = projectBuilder.LastRunProperties ?? projectBuilder.LastBuild.Cache?.CurrentEntry.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (26)
206cache?.CurrentEntry.BuildLevel = BuildLevel.All; 212cache?.CurrentEntry.BuildLevel = buildLevel; 223cache?.CurrentEntry.Run = cache.PreviousEntry?.Run; 357cache.CurrentEntry.Run = LastRunProperties; 465cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 466cache.CurrentEntry.BuildResultFile = cache.PreviousEntry?.BuildResultFile; 467Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 471cache.CurrentEntry.CscArguments = coreCompileResult.Items 476cache.CurrentEntry.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath); 477Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 500Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 506cache.CurrentEntry.AdditionalSources.Add(file); 513if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 518string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 555Debug.Assert(cache.CurrentEntry.AdditionalSources.Count == 0); 574cache.CurrentEntry.AdditionalSources.Add(fullPath); 578cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 720/// The first of <see cref="CurrentEntry"/>'s <see cref="RunFileBuildCacheEntry.ImplicitBuildFiles"/> 871var cacheEntry = cache.CurrentEntry; 1006else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.CurrentEntry.Directives)) 1064cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1065cache.CurrentEntry.BuildResultFile = cache.PreviousEntry.BuildResultFile; 1066cache.CurrentEntry.Run = cache.PreviousEntry.Run; 1072var cacheEntry = cache.CurrentEntry; 1172JsonSerializer.Serialize(stream, cache.CurrentEntry, RunFileJsonSerializerContext.Default.RunFileBuildCacheEntry);