General cleanup and refactor.

This commit is contained in:
2022-03-07 07:36:44 +00:00
parent bc6e432565
commit 762e3eb6d2
1321 changed files with 44657 additions and 45479 deletions

View File

@@ -30,6 +30,8 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.Filesystems;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
@@ -38,8 +40,6 @@ using System.Reflection;
using System.Xml;
using System.Xml.Serialization;
namespace Aaru.Filesystems;
public sealed partial class CPM
{
/// <summary>Loads all the known CP/M disk definitions from an XML stored as an embedded resource.</summary>
@@ -67,7 +67,7 @@ public sealed partial class CPM
sectorIds = new int[def.sectorsPerTrack]
};
for(int i = 0; i < def.sectorsPerTrack; i++)
for(var i = 0; i < def.sectorsPerTrack; i++)
def.side1.sectorIds[i] = i + 1;
}
@@ -82,7 +82,7 @@ public sealed partial class CPM
sectorIds = new int[def.sectorsPerTrack]
};
for(int i = 0; i < def.sectorsPerTrack; i++)
for(var i = 0; i < def.sectorsPerTrack; i++)
def.side2.sectorIds[i] = i + 1;
}
}