http://bugzilla.novell.com/show_bug.cgi?id=594464
http://bugzilla.novell.com/show_bug.cgi?id=594464#c0 Summary: SIGSEGV in ToObject Classification: Mono Product: Mono: Runtime Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Compile & Run 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); tb.SetParent (typeof (Enum)); Enum.ToObject (tb, 1); } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
