[Mono-bugs] [Bug 543143] New: OpCodes.Newarr: User defined subclasses of System.Type are not yet supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 30 08:04:49 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=543143


           Summary: OpCodes.Newarr: User defined subclasses of System.Type
                    are not yet supported
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Mono is missing support for user defined types in newarr.

Stacktrace snippet

Unhandled Exception: System.NotSupportedException: User defined subclasses of
System.Type are not yet supported
  at (wrapper managed-to-native) System.Reflection.Emit.ModuleBuilder:getToken
(System.Reflection.Emit.ModuleBuilder,object)
  at System.Reflection.Emit.ModuleBuilder.GetToken
(System.Reflection.MemberInfo member) [0x00000] in
/home/marek/svn/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs:683 
  at System.Reflection.Emit.ModuleBuilderTokenGenerator.GetToken
(System.Reflection.MemberInfo member) [0x00000] in
/home/marek/svn/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs:844 
  at System.Reflection.Emit.ILGenerator.Emit (OpCode opcode, System.Type cls)
[0x0000e] in
/home/marek/svn/mcs/class/corlib/System.Reflection.Emit/ILGenerator.cs:824 
  at Mono.CSharp.ArrayCreation.Emit (Mono.CSharp.EmitContext ec) [0x00081] in
/home/marek/svn/mcs/mcs/expression.cs:6494

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