https://bugzilla.novell.com/show_bug.cgi?id=334200
Summary: Type.GetType cannot be used to load dynamic types
Product: Mono: Runtime
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
Currently, Type.GetType always results in a TypeLoadException when attempting
to load a dynamic type.
To reproduce, compile and run the attached code.
Expected result:
A, bug331601a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
A, bug331601a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Actual result:
A, bug331601a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Unhandled Exception: System.TypeLoadException: Could not load type 'A,
bug331601
a, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at (wrapper managed-to-native) System.Type:internal_from_name
(string,bool,boo
l)
at System.Type.GetType (System.String typeName, Boolean throwOnError, Boolean
ignoreCase) [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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs