protected bool Equals(SupportBean_N other) { return IntPrimitive == other.IntPrimitive && IntBoxed == other.IntBoxed && DoublePrimitive.Equals(other.DoublePrimitive) && DoubleBoxed.Equals(other.DoubleBoxed) && BoolPrimitive == other.BoolPrimitive && BoolBoxed == other.BoolBoxed; }
protected bool Equals(SupportBeanVariantStream other) { return string.Equals(TheString, other.TheString) && BoolBoxed == other.BoolBoxed && IntPrimitive == other.IntPrimitive && LongPrimitive == other.LongPrimitive && DoublePrimitive.Equals(other.DoublePrimitive) && EnumValue == other.EnumValue; }
public override int GetHashCode() { unchecked { var hashCode = IntPrimitive; hashCode = (hashCode * 397) ^ IntBoxed.GetHashCode(); hashCode = (hashCode * 397) ^ DoublePrimitive.GetHashCode(); hashCode = (hashCode * 397) ^ DoubleBoxed.GetHashCode(); hashCode = (hashCode * 397) ^ BoolPrimitive.GetHashCode(); hashCode = (hashCode * 397) ^ BoolBoxed.GetHashCode(); return hashCode; } }
public override int GetHashCode() { unchecked { var hashCode = TheString != null ? TheString.GetHashCode() : 0; hashCode = (hashCode * 397) ^ BoolBoxed.GetHashCode(); hashCode = (hashCode * 397) ^ IntPrimitive.GetHashCode(); hashCode = (hashCode * 397) ^ LongPrimitive; hashCode = (hashCode * 397) ^ DoublePrimitive.GetHashCode(); hashCode = (hashCode * 397) ^ (int) EnumValue; return hashCode; } }