1 write to CurrentEntry
dotnet (1)
Commands\Run\FileBasedAppRunPlan.cs (1)
398
CurrentEntry
= cacheEntry,
26 references to CurrentEntry
dotnet (26)
Commands\Run\FileBasedAppRunPlan.cs (6)
228
cache.
CurrentEntry
.CscArguments = cache.PreviousEntry.CscArguments;
229
cache.
CurrentEntry
.BuildResultFile = cache.PreviousEntry.BuildResultFile;
230
cache.
CurrentEntry
.Run = cache.PreviousEntry.Run;
235
RunFileBuildCacheEntry cacheEntry = cache.
CurrentEntry
;
446
RunFileBuildCacheEntry cacheEntry = cache.
CurrentEntry
;
575
else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.
CurrentEntry
.Directives))
Commands\Run\RunCommand.cs (1)
432
cachedRunProperties = projectBuilder.LastRunProperties ?? projectBuilder.LastBuild.Cache?.
CurrentEntry
.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (19)
141
cache?.
CurrentEntry
.BuildLevel = buildLevel;
152
cache?.
CurrentEntry
.Run = cache.PreviousEntry?.Run;
194
cache.
CurrentEntry
.BuildLevel = buildLevel;
287
cache.
CurrentEntry
.Run = LastRunProperties;
395
cache.
CurrentEntry
.CscArguments = cache.PreviousEntry?.CscArguments ?? [];
396
cache.
CurrentEntry
.BuildResultFile = cache.PreviousEntry?.BuildResultFile;
397
Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.
CurrentEntry
.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target.");
401
cache.
CurrentEntry
.CscArguments = coreCompileResult.Items
406
cache.
CurrentEntry
.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath);
407
Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.
CurrentEntry
.CscArguments.Length}) and build result path: {cache.
CurrentEntry
.BuildResultFile}");
430
Debug.Assert(cache.
CurrentEntry
.AdditionalSources.Count == 0);
436
cache.
CurrentEntry
.AdditionalSources.Add(file);
443
if (cache.
CurrentEntry
.CscArguments.IsDefaultOrEmpty)
448
string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.
CurrentEntry
.CscArguments);
486
Debug.Assert(cache.
CurrentEntry
.AdditionalSources.Count == 0);
505
cache.
CurrentEntry
.AdditionalSources.Add(fullPath);
509
cache.
CurrentEntry
.AdditionalSources.Remove(Builder.EntryPointFileFullPath);
718
JsonSerializer.Serialize(stream, cache.
CurrentEntry
, RunFileBuildCacheJsonSerializerContext.Default.RunFileBuildCacheEntry);