public override int GetHashCode() { var hashCode = -2077317876; hashCode = hashCode * -1521134295 + DiskDriveMaker.GetHashCode(); hashCode = hashCode * -1521134295 + DiskDriveType.GetHashCode(); hashCode = hashCode * -1521134295 + InformationSize.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = 1057818730; hashCode = hashCode * -1521134295 + EqualityComparer <Id <DiskDriveInfoEx> > .Default.GetHashCode(DiskDriveId); hashCode = hashCode * -1521134295 + EqualityComparer <Id <DiskDriveInfoEx> > .Default.GetHashCode(DiskDriveDbId); hashCode = hashCode * -1521134295 + DiskDriveMaker.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(SerialNumber); hashCode = hashCode * -1521134295 + DiskDriveType.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <int?> .Default.GetHashCode(DriveNumber); hashCode = hashCode * -1521134295 + EqualityComparer <PartitionInfoExs> .Default.GetHashCode(PartitionInfoExs); hashCode = hashCode * -1521134295 + EqualityComparer <IList <Exception> > .Default.GetHashCode(Exceptions); return(hashCode); }