1 write to CurrentEntry
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
803
CurrentEntry
= cacheEntry,
27 references to CurrentEntry
dotnet (27)
Commands\Run\RunCommand.cs (1)
477
cachedRunProperties = projectBuilder.LastRunProperties ?? projectBuilder.LastBuild.Cache?.
CurrentEntry
.Run;
Commands\Run\VirtualProjectBuildingCommand.cs (26)
208
cache?.
CurrentEntry
.BuildLevel = BuildLevel.All;
214
cache?.
CurrentEntry
.BuildLevel = buildLevel;
225
cache?.
CurrentEntry
.Run = cache.PreviousEntry?.Run;
359
cache.
CurrentEntry
.Run = LastRunProperties;
467
cache.
CurrentEntry
.CscArguments = cache.PreviousEntry?.CscArguments ?? [];
468
cache.
CurrentEntry
.BuildResultFile = cache.PreviousEntry?.BuildResultFile;
469
Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.
CurrentEntry
.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target.");
473
cache.
CurrentEntry
.CscArguments = coreCompileResult.Items
478
cache.
CurrentEntry
.BuildResultFile = buildResultItem.GetMetadata(Constants.FullPath);
479
Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.
CurrentEntry
.CscArguments.Length}) and build result path: {cache.
CurrentEntry
.BuildResultFile}");
502
Debug.Assert(cache.
CurrentEntry
.AdditionalSources.Count == 0);
508
cache.
CurrentEntry
.AdditionalSources.Add(file);
515
if (cache.
CurrentEntry
.CscArguments.IsDefaultOrEmpty)
520
string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.
CurrentEntry
.CscArguments);
558
Debug.Assert(cache.
CurrentEntry
.AdditionalSources.Count == 0);
577
cache.
CurrentEntry
.AdditionalSources.Add(fullPath);
581
cache.
CurrentEntry
.AdditionalSources.Remove(Builder.EntryPointFileFullPath);
725
/// The first of <see cref="
CurrentEntry
"/>'s <see cref="RunFileBuildCacheEntry.ImplicitBuildFiles"/>
876
var cacheEntry = cache.
CurrentEntry
;
1011
else if (!cache.PreviousEntry.Directives.SequenceEqual(cache.
CurrentEntry
.Directives))
1069
cache.
CurrentEntry
.CscArguments = cache.PreviousEntry.CscArguments;
1070
cache.
CurrentEntry
.BuildResultFile = cache.PreviousEntry.BuildResultFile;
1071
cache.
CurrentEntry
.Run = cache.PreviousEntry.Run;
1077
var cacheEntry = cache.
CurrentEntry
;
1177
JsonSerializer.Serialize(stream, cache.
CurrentEntry
, RunFileJsonSerializerContext.Default.RunFileBuildCacheEntry);