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

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


           Summary: The Soft Debugger can't inspect locals with the same
                    name but different scope
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: debug
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


For example:

class Program
{
    static void Main()
    {
        for (int n=0; n<10; n++)
            Console.WriteLine (n);
        for (int n=0; n<10; n++)
            Console.WriteLine (n);
    }
}

The only way to get a local is using MethodMirror.GetLocal(), but this call
fails with an exception when trying to get 'n':
System.Reflection.AmbiguousMatchException: More that one local has the name
'n'.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to