public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ Append.GetHashCode(); hashCode = (hashCode * 397) ^ (FileContents != null ? FileContents.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OutputPath != null ? OutputPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ FileContentsAsBase64.GetHashCode(); hashCode = (hashCode * 397) ^ Overwrite.GetHashCode(); hashCode = (hashCode * 397) ^ AppendTop.GetHashCode(); hashCode = (hashCode * 397) ^ AppendBottom.GetHashCode(); return(hashCode); } }