[Refactor] Use collection expressions.

This commit is contained in:
2024-05-01 04:39:38 +01:00
parent f7ca79b09e
commit 134ce7041e
667 changed files with 12936 additions and 13750 deletions

View File

@@ -30,7 +30,6 @@
// Copyright © 2011-2024 Natalia Portillo
// ****************************************************************************/
using System;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Metadata;
using Aaru.Console;
@@ -46,10 +45,10 @@ public sealed partial class DeviceReport
{
var report = new MmcSd();
var sense = true;
byte[] cid = Array.Empty<byte>();
byte[] csd = Array.Empty<byte>();
byte[] ecsd = Array.Empty<byte>();
byte[] scr = Array.Empty<byte>();
byte[] cid = [];
byte[] csd = [];
byte[] ecsd = [];
byte[] scr = [];
Spectre.ProgressSingleSpinner(ctx =>
{