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