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