mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -61,7 +61,7 @@ public sealed class DEC : IPartition
|
||||
/// <inheritdoc />
|
||||
public bool GetInformation(IMediaImage imagePlugin, out List<CommonTypes.Partition> partitions, ulong sectorOffset)
|
||||
{
|
||||
partitions = new List<CommonTypes.Partition>();
|
||||
partitions = [];
|
||||
|
||||
if(31 + sectorOffset >= imagePlugin.Info.Sectors) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user