[Mono-bugs] [Bug 635720] gmcs fails to compile nested classes with generics

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 31 00:38:02 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=635720#c1


--- Comment #1 from Joe Mistachkin <joe at mistachkin.com> 2010-08-31 04:38:01 UTC ---
Another (related) issue:

Add the following code to the above example:

public class MyDictionary : Dictionary<string, string>
{
    public void MyMethod()
    {
        this.Add("foo", "bar");
    }
}

Then place the following code inside the Main method prior to the
Console.ReadKey call:

MyDictionary myDictionary = new MyDictionary();

myDictionary.MyMethod();

if (OuterGeneric<string, string>.TryGetKeyAtIndex(myDictionary, 0, ref key))
    Console.WriteLine(key);

This will also not compile correctly.

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