diff --git a/Enums/ErrorNumber.cs b/Enums/ErrorNumber.cs
index 7b8d325..534656a 100644
--- a/Enums/ErrorNumber.cs
+++ b/Enums/ErrorNumber.cs
@@ -50,7 +50,7 @@ namespace Aaru.CommonTypes.Enums
/// Media has been already dumped completely
AlreadyDumped = 3,
/// Image and its sectors cannot be verified
- NotVerificable = 4,
+ NotVerifiable = 4,
/// There are bad sectors and image cannot be verified
BadSectorsImageNotVerified = 5,
/// All sectors are good and image cannot be verified
diff --git a/Enums/Images.cs b/Enums/Images.cs
index 90d538e..2460306 100644
--- a/Enums/Images.cs
+++ b/Enums/Images.cs
@@ -39,6 +39,8 @@
using System;
using System.Diagnostics.CodeAnalysis;
+// ReSharper disable UnusedMember.Global
+
namespace Aaru.CommonTypes.Enums
{
/// Track (as partitioning element) types.
@@ -122,7 +124,7 @@ namespace Aaru.CommonTypes.Enums
CD_FullTOC = 2,
/// CD PMA
CD_PMA = 3,
- /// CD Adress-Time-In-Pregroove
+ /// CD Address-Time-In-Pregroove
CD_ATIP = 4,
/// CD-Text
CD_TEXT = 5,
@@ -300,7 +302,7 @@ namespace Aaru.CommonTypes.Enums
Correct = 0x01,
/// Data checksum is incorrect.
DataError = 0x02,
- /// Addres mark checksum is incorrect.
+ /// Address mark checksum is incorrect.
AddressMarkError = 0x04,
/// There is another sector in the same track/head with same sector id.
Duplicated = 0x08,
@@ -330,13 +332,13 @@ namespace Aaru.CommonTypes.Enums
public enum FloppyDensities : byte
{
- /// Standard coercitivity (about 300Oe as found in 8" and 5.25"-double-density disks).
+ /// Standard coercivity (about 300Oe as found in 8" and 5.25"-double-density disks).
Standard,
- /// Double density coercitivity (about 600Oe as found in 5.25" HD and 3.5" DD disks).
+ /// Double density coercivity (about 600Oe as found in 5.25" HD and 3.5" DD disks).
Double,
- /// High density coercitivity (about 700Oe as found in 3.5" HD disks).
+ /// High density coercivity (about 700Oe as found in 3.5" HD disks).
High,
- /// Extended density coercitivity (about 750Oe as found in 3.5" ED disks).
+ /// Extended density coercivity (about 750Oe as found in 3.5" ED disks).
Extended
}
diff --git a/Filters.cs b/Filters.cs
index cbdb316..b03d6b3 100644
--- a/Filters.cs
+++ b/Filters.cs
@@ -46,9 +46,9 @@ using Aaru.Console;
namespace Aaru.CommonTypes
{
- public class FiltersList
+ public sealed class FiltersList
{
- public SortedDictionary Filters;
+ public readonly SortedDictionary Filters;
/// Fills the list of all known filters
public FiltersList()
@@ -110,9 +110,5 @@ namespace Aaru.CommonTypes
return null;
}
}
-
- /// Gets all known filters
- /// Known filters
- public SortedDictionary GetFiltersList() => Filters;
}
}
\ No newline at end of file
diff --git a/Interfaces/IArchive.cs b/Interfaces/IArchive.cs
index a5ffbbd..e0a877d 100644
--- a/Interfaces/IArchive.cs
+++ b/Interfaces/IArchive.cs
@@ -35,6 +35,8 @@ using System;
using System.Collections.Generic;
using System.IO;
+// ReSharper disable UnusedMember.Global
+
namespace Aaru.CommonTypes.Interfaces
{
[Flags]
@@ -163,18 +165,18 @@ namespace Aaru.CommonTypes.Interfaces
/// Gets the attributes of a file or directory.
///
/// Error number.
- /// The entry in the archive for which to retreive the attributes.
+ /// The entry in the archive for which to retrieve the attributes.
/// File attributes, or zero if the archive does not support attributes.
FileAttributes GetAttributes(int entryNumber);
/// Lists all extended attributes, alternate data streams and forks of the given file.
- /// The entry in the archive for which to retreive the list of attributes.
+ /// The entry in the archive for which to retrieve the list of attributes.
/// List of extended attributes, alternate data streams and forks.
List GetXAttrs(int entryNumber);
/// Reads an extended attribute, alternate data stream or fork from the given file.
/// Error number.
- /// The entry in the archive for which to retreive the XAttr.
+ /// The entry in the archive for which to retrieve the XAttr.
/// Extended attribute, alternate data stream or fork name.
/// Buffer with the XAttr data.
byte[] GetXattr(int entryNumber, string xattr);
diff --git a/Interfaces/IOpticalMediaImage.cs b/Interfaces/IOpticalMediaImage.cs
index 3df2084..3667edd 100644
--- a/Interfaces/IOpticalMediaImage.cs
+++ b/Interfaces/IOpticalMediaImage.cs
@@ -95,12 +95,12 @@ namespace Aaru.CommonTypes.Interfaces
byte[] ReadSectorsLong(ulong sectorAddress, uint length, uint track);
/// Gets the disc track extents for a specified session.
- /// The track exents for that session.
+ /// The track extents for that session.
/// Session.
List