Bugzilla – Bug 571486
'var' keyword not recognised as anonymous type
Last modified: 2010-01-18 08:10:02 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
Dup. *** This bug has been marked as a duplicate of bug 571488 ***