2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 31 Jul 2009 00:10:04 +0000 (00:10 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 31 Jul 2009 00:10:04 +0000 (00:10 -0000)
commit04e8f61052db99ab3016114353d78fb3847eabcc
tree3c69aeb7e0a6fe1b29cffb56bf9e82ce2d59eaa7
parentac5d999caff1a6d692002fd4127f9cc2e32b20d8
2009-07-29 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilder.cs (GetEvents): Throw if not created
and not in compiler context.

* TypeBuilder.cs (GetNestedType): Don't rely on
MonoType implementation as it doesn't work if the
nested type is defined after the TypeBuilder is
created.

2009-07-29 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest: Test for GetNestedType.

svn path=/trunk/mcs/; revision=139136
mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
mcs/class/corlib/System.Reflection/MonoMethod.cs
mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs