[Mono-bugs] [Bug 627044] New: Null delegate conversion failure.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 30 10:20:49 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=627044#c0


           Summary: Null delegate conversion failure.
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Repro, working with csc4:

<<<<<<<<
using System;

class Program {

    static void Main ()
    {
        Action action = () => Console.WriteLine (1);
        action += () => Console.WriteLine (2);
        action += null;
        action += () => Console.WriteLine (4);

        action ();
    }
}
<<<<<<<<

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list