[Mono-dev] Test fails in MS.NET

Roei Erez roeie at mainsoft.com
Thu Jan 10 09:39:51 EST 2008


Hi, 

I am running some of the corlib tests on MS.NET and found that the
following test fails:

TypeTest.MakeGenericType_BadUserType

 

The reason is that the method 'System.Type.MakeGenericType(params Type[]
types)' makes a validation on the input types, and throws exception
whenever the call Type.UnderlyingSystemType == null for any type
parameter.

MS.NET does not make such validation, therefore the above test pass.

Is it because of a limitation in MONO for user types, or just a bug?

 

Regards, 

Roei Erez

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080110/9133df74/attachment.html 


More information about the Mono-devel-list mailing list