Bug 317383 (MONO73332) - [GMCS] Arrays don't implement IEnumerable<T>
Summary: [GMCS] Arrays don't implement IEnumerable<T>
Status: RESOLVED FIXED
Alias: MONO73332
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 12:43 UTC by Olivier Lauffenburger
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Source file exhibiting the bug (221 bytes, text/plain)
2005-03-04 12:45 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:09:54 UTC


---- Reported by o.lauffenburger@topsolid.com 2005-03-04 05:43:59 MST ----

When compiling the 2 following lines with gmcs version 1.1.3.0 :

string[] array = new string[10];
System.Collections.Generic.IEnumerable<string> enumer = array;

the error "error CS0029: Cannot convert implicitly from `string[]' to 
`System.Collections.Generic.IEnumerable`1'" occurs.

This does not happen with the Microsoft C# compiler.



---- Additional Comments From o.lauffenburger@topsolid.com 2005-03-04 05:45:00 MST ----

Created an attachment (id=167537)
Source file exhibiting the bug


Imported an attachment (id=167537)