Bug 571486

Summary: 'var' keyword not recognised as anonymous type
Product: [Mono] MonoDevelop Reporter: A. A. <inspiration3>
Component: debuggerAssignee: Lluis Sanchez <lluis>
Status: RESOLVED DUPLICATE QA Contact: MD Bugs <monodevelop-bugs>
Severity: Major    
Priority: P5 - None    
Version: 2.2   
Target Milestone: ---   
Hardware: Other   
OS: Windows 7   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description A. A. 2010-01-17 20:20:32 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

Any use of the var keyword (http://msdn.microsoft.com/en-us/library/bb383973.aspx) results in the following errors:

Error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) (CS0246)
Error CS0021: Cannot apply indexing with [] to an expression of type 'var' (CS0021)

Reproducible: Always
Comment 1 Lluis Sanchez 2010-01-18 08:10:02 UTC
Dup.

*** This bug has been marked as a duplicate of bug 571488 ***