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