[Mono-dev] Problem with patch for TypeBuilder.UnderlyingSystemType

Zoltan Varga vargaz at gmail.com
Thu Jul 12 19:16:06 EDT 2007


  Contrary to his name, UnderlyingSystemType has nothing to do with enum
basetypes. It is there for people implementing their own type classes, see
System.Reflection.TypeDelegator for an example.


On 7/13/07, Rodrigo Kumpera <kumpera at gmail.com> wrote:
> Hey guys,
> I haveve written a small patch to implement
> TypeBuilder.UnderlyingSystemType form enum types, but for
> some reason some tests are failing now and I can't figure out why :(
> With the attached patch applied the tests System.EnumTest.TestGetValues and
> System.Reflection.Emit.EnumBuilderTest.TestDefineLiteralTypeIncomplete
> fail. The first one without any apparent reason, even after digging a lot of
> the source. The second one fails only on 1.1 with no apparent reason.
> Someone has a clue to why this is happening?
> Thanks!
> Rodrigo
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list