Hi, On Tue, Jan 25, 2011 at 7:15 PM, impworks <[email protected]> wrote: > I'm having an issue with multi-dimensional arrays here. > When in C# I write the following code: > > var a = new double[,] { { 1, 2 }, { 3, 4 } }; > > the reflector shows that 'a' is of type float64[0..., 0...]. > Cecil would say that the type is simply float64[,].
That's not right. Cecil can make the distinction between a [,] and a [0..,0...] array. It's just up to you to build the array types properly. The first one has two ranks with now bounds, the second one has 2 specified ArrayDimension with a 0 lower bound. Jb -- -- mono-cecil
