public bool Equals([AllowNull] ModelA other) { if (other == null) { return(false); } return(IntValue == other.IntValue && GuidValue == other.GuidValue && StringValue == other.StringValue && DoubleValue == other.DoubleValue && FloatValue == other.FloatValue && ByteValue == other.ByteValue && SmallDouble == other.SmallDouble && SmallDecimal == other.SmallDecimal && SmallFloat == other.SmallFloat && SmallDouble2 == other.SmallDouble2 && BufferValue.SequenceEqual(other.BufferValue) && ArrayIntValue.SequenceEqual(other.ArrayIntValue) && ArrayStringValue.SequenceEqual(other.ArrayStringValue) && ModelBValue.Equals(other.ModelBValue) && ModelBListValue.SequenceEqual(other.ModelBListValue) && ModelBCollection.SequenceEqual(other.ModelBCollection) && MapValue.SequenceEqual(other.MapValue) && ListStringValue.SequenceEqual(other.ListStringValue) && EmptyList.SequenceEqual(other.EmptyList)); }