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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs