[Mono-bugs] [Bug 705044] New: C# compiler service sometimes exposes internal variables
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 11 21:33:25 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=705044
https://bugzilla.novell.com/show_bug.cgi?id=705044#c0
Summary: C# compiler service sometimes exposes internal
variables
Classification: Mono
Product: Mono: Compilers
Version: 1.2.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: michael.miller at suse.com
ReportedBy: gshackles at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML,
like Gecko) Chrome/13.0.782.41 Safari/535.1
In certain situations, Evaluator.GetVars() will display what look like internal
variables that weren't actually declared (and also aren't valid/accessible).
For example:
csharp> var l = new List<int>() { 1, 2 };
csharp> ShowVars();
System.Collections.Generic.List<int> l =
System.Collections.Generic.List`1[System.Int32]
csharp> var s = l.Select(n => n * 2);
csharp> ShowVars();
System.Collections.Generic.List<int> l =
System.Collections.Generic.List`1[System.Int32]
System.Collections.Generic.IEnumerable<int> s =
System.Linq.Enumerable+WhereSelectListIterator`2[System.Int32, System.Int32]
System.Func<int,int> <>f__am$cache1 = <error reading value>
Reproducible: Always
Steps to Reproduce:
Follow the commands for repro case listed in bug details
Actual Results:
Variables list shows internal variables
Expected Results:
Internal variables should be hidden
--
Configure bugmail: https://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