mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
General refactor.
This commit is contained in:
@@ -72,9 +72,7 @@ namespace DiscImageChef.CommonTypes
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if(!(obj is Partition)) return false;
|
||||
|
||||
return Equals((Partition)obj);
|
||||
return obj is Partition partition && Equals(partition);
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
||||
Reference in New Issue
Block a user