Redo Reformat and cleanup.

Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
This commit is contained in:
2023-10-04 17:34:40 +01:00
parent bc8bf7a2dc
commit 7363a5d9c5
453 changed files with 7241 additions and 7126 deletions

View File

@@ -73,8 +73,7 @@ public sealed class DragonFlyBSD : IPartition
ErrorNumber errno = imagePlugin.ReadSectors(sectorOffset, nSectors, out byte[] sectors);
if(errno != ErrorNumber.NoError ||
sectors.Length < 2048)
if(errno != ErrorNumber.NoError || sectors.Length < 2048)
return false;
Disklabel64 disklabel = Marshal.ByteArrayToStructureLittleEndian<Disklabel64>(sectors);
@@ -103,8 +102,7 @@ public sealed class DragonFlyBSD : IPartition
if(entry.p_bsize % imagePlugin.Info.SectorSize > 0)
part.Length++;
if(entry.p_bsize <= 0 ||
entry.p_boffset <= 0)
if(entry.p_bsize <= 0 || entry.p_boffset <= 0)
continue;
partitions.Add(part);