http://bugzilla.novell.com/show_bug.cgi?id=591788
http://bugzilla.novell.com/show_bug.cgi?id=591788#c2 Marek Safar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Marek Safar <[email protected]> 2010-03-30 10:00:12 UTC --- This still aborts with slightly modified test case using System; using System.Threading; using System.Reflection; using System.Reflection.Emit; class C { public static void Main () { TypeBuilder tb; ILGenerator il_gen; AssemblyName assemblyName = new AssemblyName (); assemblyName.Name = "MonoTests.System.Reflection.Emit.ILGeneratorTest"; AssemblyBuilder assembly = Thread.GetDomain ().DefineDynamicAssembly ( assemblyName, AssemblyBuilderAccess.RunAndSave); ModuleBuilder module = assembly.DefineDynamicModule("bug-sre-test.exe"); tb = module.DefineType ("T", TypeAttributes.Public); var tb2 = module.DefineType ("TBase", TypeAttributes.Public); tb2.SetParent (typeof (ValueType)); tb.SetParent (tb2); Type[] constructorArgs = { tb }; ConstructorBuilder mb = tb.DefineConstructor(MethodAttributes.Public, CallingConventions.Standard, constructorArgs); il_gen = mb.GetILGenerator (); il_gen.Emit (OpCodes.Ret); new CustomAttributeBuilder (mb, new object [] { 200000 }); } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
