I strongly believe something should be done on the Cecil side to deal
with this inconsistency. C# itself does some sort of transformations:
class A
{
void Test(double[,] a) { ... }
}
If I do the following:
var method = typeof(A).GetMethod("Test", new Type[]
{ typeof(double[,]) } );
The method will be found.
It can be later imported into Cecil Assembly without any problems, but
it will cause a definite exception when you try to call it!
My best guess is because at import time the actual type of the
parameter generated by C# compiler (double[0...,0...]) falls back to
double[,].
--
--
mono-cecil