Code restyling.

This commit is contained in:
2020-02-29 18:03:24 +00:00
parent c88447c86e
commit f990e1f2f8
23 changed files with 581 additions and 363 deletions

View File

@@ -60,7 +60,7 @@ namespace Aaru.CommonTypes
/// <summary>Information that does not find space in this struct</summary>
public string Description;
/// <summary>LBA of last partition sector</summary>
public ulong End => Start + Length - 1;
public ulong End => (Start + Length) - 1;
/// <summary>Name of partition scheme that contains this partition</summary>
public string Scheme;
@@ -89,7 +89,7 @@ namespace Aaru.CommonTypes
End > other.End)
return 1;
return-1;
return -1;
}
// Define the equality operator.