[Mono-bugs] [Bug 629547] New: dmcs is missing checks for unassigned local variables

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 9 09:40:57 EDT 2010


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

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


           Summary: dmcs is missing checks for unassigned local variables
    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:

<<<<<
using System;
using System.Threading;

class Program {

    static void Main (string [] args)
    {
        SpinWait wait;
        wait.SpinOnce ();
    }
}
<<<<<

csc produces a CS0165 about the usage of an unassigned local variable.

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