5 writes to CscArguments
dotnet (5)
_generated\41\RunFileJsonSerializerContext.RunFileBuildCacheEntry.g.cs (1)
227Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry)obj).CscArguments = value!,
Commands\Run\VirtualProjectBuildingCommand.cs (4)
468cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 474cache.CurrentEntry.CscArguments = coreCompileResult.Items 1085cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1138cache.PreviousEntry.CscArguments = [];
12 references to CscArguments
dotnet (12)
_generated\41\RunFileJsonSerializerContext.RunFileBuildCacheEntry.g.cs (2)
226Getter = static obj => ((global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry)obj).CscArguments, 289ImmutableArrayStringSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry)value).CscArguments);
Commands\Run\VirtualProjectBuildingCommand.cs (10)
238CscArguments = cache.PreviousEntry?.CscArguments ?? [], 468cache.CurrentEntry.CscArguments = cache.PreviousEntry?.CscArguments ?? []; 470Reporter.Verbose.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target."); 480Reporter.Verbose.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}"); 516if (cache.CurrentEntry.CscArguments.IsDefaultOrEmpty) 521string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 746if (PreviousEntry?.CscArguments.IsDefaultOrEmpty == false) 1008if (cache.PreviousEntry?.CscArguments.IsDefaultOrEmpty != false) 1085cache.CurrentEntry.CscArguments = cache.PreviousEntry.CscArguments; 1133if (!cache.PreviousEntry.CscArguments.IsDefaultOrEmpty)