[Mono-dev] Reflection.Emit for int[0..., 0...] and possible bug in gmcs
Cedric Vivier
cedricv at neonux.com
Sat Feb 17 06:12:43 EST 2007
Hi!
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 :
http://groups.google.com/group/boolang/browse_thread/thread/e213f7a30b4a3ce
More information about the Mono-devel-list
mailing list