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


           Summary: Expression parser is too restrictive
    Classification: Mono
           Product: Mono: Debugger
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: gui
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Expression parser is able to display only C# valid variables, but it should
work with any metadata variable

(mdb) ptype this
class System.Reflection.Emit.MethodBuilder : System.Reflection.MethodInfo
{
.............................
   static System.Collections.Generic.Dictionary`2<string,int>
<>f__switch$map1E;
........
}

(mdb) p <>f__switch$map1E
syntax error, expecting IDENTIFIER INT UINT FLOAT DOUBLE DECIMAL ULONG LONG
STRING STAR PERCENT OPAREN AMPERSAND PARENT NEW THIS BASE CATCH TRUE FALSE NULL
ERROR: C#, Token: LT   : Parsing error

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