https://bugzilla.novell.com/show_bug.cgi?id=643890

https://bugzilla.novell.com/show_bug.cgi?id=643890#c0


           Summary: DeclaringType returns incorrect value for inflated
                    types
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


using System;

class A<T>
{
    public class B<U>
    {
    }
}

class Program
{
    public static void Main ()
    {
        var a = typeof (A<int>.B<string>);
        Console.WriteLine (a.DeclaringType);
    }
}

NET
A`1[T]

Mono
A`1[System.Int32]

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to