[Mono-bugs] [Bug 369173] TypeLoad exception and runtime crash when emitting type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 11 09:46:38 EDT 2008


User msafar at novell.com added comment

--- Comment #3 from Marek Safar <msafar at novell.com>  2008-03-11 07:46:37 MST ---
The second test should be only

Test 2: test.exe lib2.dll

Expected Output: No error and correctly emitted bla.dll

Actual Output:

lib2, Version=, Culture=neutral, PublicKeyToken=null
lib2, Version=, Culture=neutral, PublicKeyToken=null

Unhandled Exception: System.TypeLoadException: Could not load type 'MyEnum'.
  at (wrapper managed-to-native)
  at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] 
  at C.Emit (System.Type t) [0x00000] 
  at C.Main (System.String[] args) [0x00000] 

Configure bugmail: https://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.

More information about the mono-bugs mailing list