Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent 82f474c7e3
commit 88da8fc019
581 changed files with 22423 additions and 20839 deletions

View File

@@ -46,7 +46,7 @@ namespace DiscImageChef.Partitions
public class Plan9 : IPartition
{
public string Name => "Plan9 partition table";
public Guid Id => new Guid("F0BF4FFC-056E-4E7C-8B65-4EAEE250ADD9");
public Guid Id => new Guid("F0BF4FFC-056E-4E7C-8B65-4EAEE250ADD9");
public bool GetInformation(IMediaImage imagePlugin, out List<Partition> partitions, ulong sectorOffset)
{
@@ -65,13 +65,13 @@ namespace DiscImageChef.Partitions
Partition part = new Partition
{
Length = end - start + 1,
Offset = (start + sectorOffset) * imagePlugin.Info.SectorSize,
Scheme = Name,
Length = end - start + 1,
Offset = (start + sectorOffset) * imagePlugin.Info.SectorSize,
Scheme = Name,
Sequence = (ulong)partitions.Count,
Size = (end - start + 1) * imagePlugin.Info.SectorSize,
Start = start + sectorOffset,
Type = tokens[1]
Size = (end - start + 1) * imagePlugin.Info.SectorSize,
Start = start + sectorOffset,
Type = tokens[1]
};
partitions.Add(part);