How can we help you today? How can we help you today?

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()?
alehandro
0

Add comment

Please sign in to leave a comment.