[Mono-bugs] [Bug 334200] New: Type.GetType cannot be used to load dynamic types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 16 05:57:04 EDT 2007


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: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          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.


More information about the mono-bugs mailing list