Hello!

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[,].

Looks like those types are not identical, because a problem arises
when I try to call a method that is already written in C# and resides
in another assembly: Cecil generates a call to SomeMethod(float64[,]),
but the method is defined with float64[0...,0...] as parameter type,
and it causes System.MissingMethodException.

Is there any way to fix this situation?

-- 
--
mono-cecil

Reply via email to