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

Reply via email to