[Mono-bugs] [Bug 340261] New: TypeLoadException needs improved error reporting

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 11:23:50 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=340261#c324696

           Summary: TypeLoadException needs improved error reporting
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: rkumpera at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Take bug #324696 for example. The exception throw is: 
"Unhandled Exception: System.TypeLoadException: Could not load type
'FieldAttributes' from assembly 'test, Version=0.0.0.0, Culture=neutral'."

It should throw an exception with an informative message, something like
net's:
"System.TypeLoadException: No Instance Field in an Enum."


-- 
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