public override int GetHashCode() { unchecked { var hashCode = (FullPath != null ? FullPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Extension != null ? Extension.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FormatName != null ? FormatName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (BitRate != null ? BitRate.GetHashCode() : 0); hashCode = (hashCode * 397) ^ FileSize.GetHashCode(); hashCode = (hashCode * 397) ^ DurationInSecs.GetHashCode(); hashCode = (hashCode * 397) ^ VideoStream.GetHashCode(); hashCode = (hashCode * 397) ^ AudioStream.GetHashCode(); return(hashCode); } }