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

http://bugzilla.novell.com/show_bug.cgi?id=619919#c2


--- Comment #2 from Marek Safar <[email protected]> 2010-07-11 10:21:37 UTC ---
Test #3

using System;

public delegate int D ();

public abstract class A
{
    protected abstract event D Event;
}

public class B : A
{
    protected override event D Event;

    protected int Run ()
    {
        return Event ();
    }
}

public class C : B
{
    int Test (int i)
    {
        Action a = () => base.Event += () => i;
        a ();
        return Run ();
    }

    public static int Main ()
    {
        if (new C ().Test (9) != 9)
            return 1;

        return 0;
    }
}

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to