| Author |
Message |
alehandro
Joined: 16 Nov 2010 Posts: 35
|
Posted: Thu Feb 03, 2011 11:19 pm Post subject: IEnumerable<> issue |
|
|
Hi,
there is an issue with exporting sources when some class uses an inheritance from IEnumerable <> generic type
here is an example of output:
[DefaultMember("Item")]
public class c000310 : IEnumerable<c000311>
{
....
public IEnumerator<c000311> GetEnumerator()
{
c000312 c = new c000312(0);
c.f000537 = this;
return c;
}
....
}
private IEnumerator m0004d0()
{
return this.GetEnumerator();
}
error
========================
Error 91 'c000310' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'c000310.GetEnumerator()' cannot implement 'System.Collections.IEnumerable.GetEnumerator()' because it does not have the matching return type of 'System.Collections.IEnumerator'. ---
Well, maybe the issue is up to wrongly named method
m0004d0()? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group