Example #1
0
        public override int GetHashCode()
        {
            var hashCode = 508343711;

            hashCode = hashCode * -1521134295 + EqualityComparer <Id <PartitionInfoEx> > .Default.GetHashCode(PartitionId);

            hashCode = hashCode * -1521134295 + EqualityComparer <Id <PartitionInfoEx> > .Default.GetHashCode(PartitionDbId);

            hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <string> > .Default.GetHashCode(DriveLetters);

            hashCode = hashCode * -1521134295 + PartitionFileSystem.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <IList <Exception> > .Default.GetHashCode(Exceptions);

            hashCode = hashCode * -1521134295 + EqualityComparer <long?> .Default.GetHashCode(Size);

            return(hashCode);
        }