[Mono-dev] Reflection.Emit for int[0..., 0...] and possible bug in gmcs
cedricv at neonux.com
Sat Feb 17 06:12:43 EST 2007
Any emit guru here?
Ayende Rahien has posted a tough question to the boo-devel mailing list :
In a nutshell, for the following method definition "void Foo(int[,]
a)", csc generates a "int[0...,0...]" (lower-bounded to 0
2-dimensional array) parameter in the CIL.
The same definition through gmcs generates "int[,]" (unbounded)
parameter, which I suppose may cause problems if derivating in mono
from a class or interface defined into a csc-generated assembly ?
Also, how one can emit "int[0...,0...]" through Reflection.Emit ?
You can read the complete discussion here :
More information about the Mono-devel-list