[Mono-bugs] [Bug 479513] Incorrect CS0229 between indexers and type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 25 08:06:34 EST 2009


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

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=479513#c1





--- Comment #1 from Marek Safar <msafar at novell.com>  2009-02-25 06:06:34 MST ---
Here is correct test case.

class Item
{
    public static int Foo = 42;

    public class Builder 
    {
        public int Foo {
            get { return Item.Foo; }
        }

        public object this [int field] {
            get { return null; }
        }

        public object this [int field, int i] {
            get { return null; }
        }
    }
}

class Program {

    static void Main ()
    {
    }
}

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