[Mono-devel-list] Bug in TypeBuilder.DefineMethod()

Paolo Molaro lupus at ximian.com
Thu May 15 13:21:18 EDT 2003


On 05/15/03 Don Roberts wrote:
> In our work to get #Smalltalk working under mono we've run into another
> bug. Our compiler calls DefineMethod() on TypeBuilder with the 3rd
> argument as null. This works under .NET 1.0 and 1.1 but fails under mono
> with the following error:
> 
> Unhandled Exception: System.NullReferenceException: A null value was
> found where an object instance was required

The return type was passed as null? I made it use typeof(void)
in that case (in cvs)).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list