Hey,<br><br>The msdn docs aren't very helpfull on that. I'll take a look at TypeDelegator. Besides that, what I'm trying to do is getting the attached program working on mono, it should print "ok1 ok2 ok3... ok7", but instead returns the wrong type in the first test and throws OutOfMemory for the remaining tests. I'm still tackling the first issue, which the patch I sent was trying to fix but didn't manage to.
<br><br>Cheers,<br>Rodrigo<br><br><div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername">Zoltan Varga</b> <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br> Contrary to his name, UnderlyingSystemType has nothing to do with enum<br>basetypes. It is there for people implementing their own type classes, see<br>System.Reflection.TypeDelegator for an example.
<br><br> Zoltan<br><br>On 7/13/07, Rodrigo Kumpera <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<br>> Hey guys,<br>><br>> I haveve written a small patch to implement
<br>> TypeBuilder.UnderlyingSystemType form enum types, but for<br>> some reason some tests are failing now and I can't figure out why :(<br>><br>> With the attached patch applied the tests System.EnumTest.TestGetValues
and<br>> System.Reflection.Emit.EnumBuilderTest.TestDefineLiteralTypeIncomplete<br>> fail. The first one without any apparent reason, even after digging a lot of<br>> the source. The second one fails only on 1.1
with no apparent reason.<br>> Someone has a clue to why this is happening?<br>><br>><br>> Thanks!<br>> Rodrigo<br>><br>> _______________________________________________<br>> Mono-devel-list mailing list
<br>> <a href="mailto:Monofirstname.lastname@example.org">Monoemail@example.com</a><br>> <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list