[Mono-list] Type.invokeMember

Gonzalo Paniagua Javier gonzalo@ximian.com
04 Feb 2003 21:27:54 +0100


El mar, 04-02-2003 a las 19:58, ville escribió:
> Hi All!
> 
> Can somebody explain me why the following code throws
MissingMethodException? 
> I tested it with .Net it worked fine. And Int32 implements CompareTo
-method.
> 
> Type t = typeof (Int32);
> t.InvokeMember ("CompareTo", BindingFlags.Default |
BindingFlags.InvokeMethod, 
> null, 16, new object [] {1});

Fixed in CVS. It was a little bug in Binder.cs.

-Gonzalo