https://bugzilla.novell.com/show_bug.cgi?id=424715


           Summary: [Flow-analysis] on method arguments
           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: ---


class C
{
        static void Main ()
        {
                int a;
                Foo(out a, a);
        }

        static void Foo (out int a, int b)
        {
                a = b;
        }
}

Expected:  error CS0165: Use of unassigned local variable `a'


-- 
Configure bugmail: https://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