[Mono-dev] MethodInfo.Invoke throws exception when a null is passed into a by ref arg

Federico Evers nlv13926 at natlab.research.philips.com
Thu Jun 21 04:55:03 EDT 2007


When trying to invoke a method through reflection in which one of the 
argument is by ref mono will throw a null reference exception.  .NET on 
the other hand does not. Consider the attached example...

gmcs test.cs

Federico Evers

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070621/18471331/attachment.pl 

More information about the Mono-devel-list mailing list