[Mono-bugs] [Bug 518349] New: [Flow-analysis] on extension method argument

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 1 11:44:28 EDT 2009


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


           Summary: [Flow-analysis] on extension method argument
    Classification: Mono
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


using System;

using System.Linq;



class M

{

    public static void Main ()

    {

        int[] a;

        int m = a.FirstOrDefault<int> ();

    }

}



Expected

z.cs(9,11): error CS0165: Use of unassigned local variable `a'

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


More information about the mono-bugs mailing list