public override int GetHashCode() { unchecked { var hashCode = alignContent.GetHashCode(); hashCode = (hashCode * 397) ^ alignItems.GetHashCode(); hashCode = (hashCode * 397) ^ alignSelf.GetHashCode(); hashCode = (hashCode * 397) ^ backgroundColor.GetHashCode(); hashCode = (hashCode * 397) ^ backgroundImage.GetHashCode(); hashCode = (hashCode * 397) ^ borderBottomColor.GetHashCode(); hashCode = (hashCode * 397) ^ borderBottomLeftRadius.GetHashCode(); hashCode = (hashCode * 397) ^ borderBottomRightRadius.GetHashCode(); hashCode = (hashCode * 397) ^ borderBottomWidth.GetHashCode(); hashCode = (hashCode * 397) ^ borderLeftColor.GetHashCode(); hashCode = (hashCode * 397) ^ borderLeftWidth.GetHashCode(); hashCode = (hashCode * 397) ^ borderRightColor.GetHashCode(); hashCode = (hashCode * 397) ^ borderRightWidth.GetHashCode(); hashCode = (hashCode * 397) ^ borderTopColor.GetHashCode(); hashCode = (hashCode * 397) ^ borderTopLeftRadius.GetHashCode(); hashCode = (hashCode * 397) ^ borderTopRightRadius.GetHashCode(); hashCode = (hashCode * 397) ^ borderTopWidth.GetHashCode(); hashCode = (hashCode * 397) ^ bottom.GetHashCode(); hashCode = (hashCode * 397) ^ cursor.GetHashCode(); hashCode = (hashCode * 397) ^ display.GetHashCode(); hashCode = (hashCode * 397) ^ flexBasis.GetHashCode(); hashCode = (hashCode * 397) ^ flexDirection.GetHashCode(); hashCode = (hashCode * 397) ^ flexGrow.GetHashCode(); hashCode = (hashCode * 397) ^ flexShrink.GetHashCode(); hashCode = (hashCode * 397) ^ flexWrap.GetHashCode(); hashCode = (hashCode * 397) ^ height.GetHashCode(); hashCode = (hashCode * 397) ^ justifyContent.GetHashCode(); hashCode = (hashCode * 397) ^ left.GetHashCode(); hashCode = (hashCode * 397) ^ marginBottom.GetHashCode(); hashCode = (hashCode * 397) ^ marginLeft.GetHashCode(); hashCode = (hashCode * 397) ^ marginRight.GetHashCode(); hashCode = (hashCode * 397) ^ marginTop.GetHashCode(); hashCode = (hashCode * 397) ^ maxHeight.GetHashCode(); hashCode = (hashCode * 397) ^ maxWidth.GetHashCode(); hashCode = (hashCode * 397) ^ minHeight.GetHashCode(); hashCode = (hashCode * 397) ^ minWidth.GetHashCode(); hashCode = (hashCode * 397) ^ opacity.GetHashCode(); hashCode = (hashCode * 397) ^ overflow.GetHashCode(); hashCode = (hashCode * 397) ^ paddingBottom.GetHashCode(); hashCode = (hashCode * 397) ^ paddingLeft.GetHashCode(); hashCode = (hashCode * 397) ^ paddingRight.GetHashCode(); hashCode = (hashCode * 397) ^ paddingTop.GetHashCode(); hashCode = (hashCode * 397) ^ position.GetHashCode(); hashCode = (hashCode * 397) ^ right.GetHashCode(); hashCode = (hashCode * 397) ^ top.GetHashCode(); hashCode = (hashCode * 397) ^ unityBackgroundImageTintColor.GetHashCode(); hashCode = (hashCode * 397) ^ unityBackgroundScaleMode.GetHashCode(); hashCode = (hashCode * 397) ^ unityOverflowClipBox.GetHashCode(); hashCode = (hashCode * 397) ^ unitySliceBottom.GetHashCode(); hashCode = (hashCode * 397) ^ unitySliceLeft.GetHashCode(); hashCode = (hashCode * 397) ^ unitySliceRight.GetHashCode(); hashCode = (hashCode * 397) ^ unitySliceTop.GetHashCode(); hashCode = (hashCode * 397) ^ width.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = color.GetHashCode(); hashCode = (hashCode * 397) ^ fontSize.GetHashCode(); hashCode = (hashCode * 397) ^ unityFont.GetHashCode(); hashCode = (hashCode * 397) ^ unityFontStyleAndWeight.GetHashCode(); hashCode = (hashCode * 397) ^ unityTextAlign.GetHashCode(); hashCode = (hashCode * 397) ^ visibility.GetHashCode(); hashCode = (hashCode * 397) ^ whiteSpace.GetHashCode(); return(hashCode); } }