[Mono-bugs] [Bug 324625] [GMCS] Nested class with generic code produces error (CS0305) while MS.NET does not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 11 15:27:10 EST 2008


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

User burke.anthony.j at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=324625#c3


Anthony Burke <burke.anthony.j at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |burke.anthony.j at gmail.com




--- Comment #3 from Anthony Burke <burke.anthony.j at gmail.com>  2008-12-11 13:27:10 MST ---
Here is a simpler test case with the same results:

using System;

namespace GenericTest
{
    public class OuterGeneric<T>
    {
        public class InnerGeneric<U>
        {
            public static string GetTypeNames()
            {
                return typeof(T).ToString() + " " + typeof(U).ToString();
            }
        }
    }

    class Program
    {
        static void Main(string[] args)
        {
            string typeNames =
OuterGeneric<int>.InnerGeneric<long>.GetTypeNames();
            Console.WriteLine(typeNames);
        }
    }
}


-- 
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