[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 Sep 3 15:09:46 EDT 2009


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

User jpryor at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=324625#c5


Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpryor at novell.com




--- Comment #5 from Jonathan Pryor <jpryor at novell.com>  2009-09-03 13:09:44 MDT ---
Another take on the bug:

  public class MyList<T>
  {
    public class Helper <U, V> {}

    public Helper<U,V> GetHelper<U,V> () {return null;}
  }

gmcs -unsafe -t:library b-dt.cs

b-dt.cs(5,12): error CS0305: Using the generic type `MyList<T>.Helper<U,V>'
requires `3' type argument(s)

CSC compiles w/o error.

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