Author Topic: Reverse engineering C# int[][]  (Read 3340 times)

kossmann

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Reverse engineering C# int[][]
« on: April 01, 2004, 12:08:38 pm »
When reverse engineering a C# int[][] attribute of a class, the model constructed appears to indicate that this is an int[] rather than an int[][].

Fixing it up in the model to int[][] and then forward engineering it again seems to work fine.

Is this a bug in EA reverse engineering?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8078
  • Karma: +118/-20
    • View Profile
Re: Reverse engineering C# int[][]
« Reply #1 on: April 06, 2004, 04:20:33 pm »
Hi kossmann,

This is because the current version of EA does not support multi-dimensional arrays.  Not only that but only C++ properly imports any arrays into the model.

A fix has been made to allow some support for multi-dimensional arrays and proper handling of arrays and should be released soon. It is still limited in that it will not allow for multidimensional arrays to be passed as parameters to functions or be returned by a function.

Cheers,

Simon