Bug 322267 (MONO79561) - [GMCS] Implemented interface not visible in grandchild class.
Summary: [GMCS] Implemented interface not visible in grandchild class.
Status: RESOLVED FIXED
Alias: MONO79561
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 00:46 UTC by Rusty Howell
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
test case that recreates bug (839 bytes, text/plain)
2006-10-03 00:47 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 20:11:50 UTC


---- Reported by rhowell@novell.com 2006-10-02 17:46:18 MST ----

Description of Problem:

When trying to foreach on a class whose grandparent implements
IEnumerable<T>, the compiler fails with error: 

"mono-bug.cs(35,13): error CS1579: foreach statement cannot operate on
variables of type `Mono.Management.IntList' because it does not contain a
definition for `GetEnumerator' or is not accessible"


Steps to reproduce the problem:
1. Download attached mono-bug.cs file
2. Compile using gmcs 1.1.17.1 with command "gmcs -out:mono-bug.exe
mono-bug.cs -warn:0"
3. Notice the error above is generated.

Actual Results:
Generated error.

Expected Results:
Successful build.

How often does this happen? 
Always

Additional Information:
This works under the MS runtime CLR v2.0.50727.42



---- Additional Comments From rhowell@novell.com 2006-10-02 17:47:07 MST ----

Created an attachment (id=170588)
test case that recreates bug




---- Additional Comments From martin@ximian.com 2007-04-11 14:20:37 MST ----

Fixed in SVN.

Imported an attachment (id=170588)