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

http://bugzilla.novell.com/show_bug.cgi?id=582369#c1


Marek Safar <msa...@novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msa...@novell.com

--- Comment #1 from Marek Safar <msa...@novell.com> 2010-02-24 10:02:39 UTC ---
Note to myself, this is the closest I got but still compiles.

using System;

static class E
{
    public static void Test<T> (this I b, T t, Action<IVoid> a)
    {
    }
}

public interface I
{
    void Test<T> (T t);
}

public interface IVoid
{
    void Empty ();
}

public class C
{
    public I B { get; set; }

    void Foo ()
    {
        B.Test (Create<C>(), c => c.Empty ());
    }

    static T Create<T> () where T : new()
    {
        return new T ();
    }

    public static void Main ()
    {
    }
}

-- 
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  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to