[Mono-bugs] [Bug 671245] New: SRE resolves type into wrong token

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 11 06:46:34 EST 2011



           Summary: SRE resolves type into wrong token
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          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: ---
           Blocker: ---

Run cshap with

csharp> struct Z {}
csharp> typeof(Z);

it returns wrong name/type (not Z) on mono. I tracked it down to

MonoType *type = mono_reflection_type_get_handle ((MonoReflectionType*)tb);

which for some reason gives from type for the token

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