REFACTOR: All refactor in DiscImageChef.CommonTypes.

This commit is contained in:
2017-12-21 20:32:50 +00:00
parent 4a48f698e1
commit 1f3efabc2b
2 changed files with 96 additions and 97 deletions

View File

@@ -58,7 +58,7 @@ namespace DiscImageChef.CommonTypes
/// <summary>LBA of last partition sector</summary>
public ulong End
{
get { return Start + Length - 1; }
get => Start + Length - 1;
}
/// <summary>Name of partition scheme that contains this partition</summary>
public string Scheme;
@@ -70,7 +70,8 @@ namespace DiscImageChef.CommonTypes
public override bool Equals(object obj)
{
if(obj == null || !(obj is Partition)) return false;
if(!(obj is Partition)) return false;
return Equals((Partition)obj);
}