Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Build/BackEnd/BuildManager/BuildManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ IEnumerable<ILogger> AppendDebuggingLoggers(IEnumerable<ILogger> loggers)

var logger = new BinaryLogger { Parameters = binlogPath };

return (loggers ?? [logger]);
return (loggers ?? []).Concat([logger]);
}

void InitializeCaches()
Expand Down
2 changes: 1 addition & 1 deletion src/Tasks/GenerateResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ private void UpdateNewestUncorrelatedInputWriteTime()

// Check the timestamp of each of the passed-in references to find the newest;
// and then the additional inputs
ITaskItem[] inputs = this.References ?? [.. (this.AdditionalInputs ?? [])];
var inputs = (this.References ?? []).Concat(this.AdditionalInputs ?? []);

foreach (ITaskItem input in inputs)
{
Expand Down
Loading