Red Gate forums :: View topic - IEnumerable<> issue
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.NET Reflector 7 EAP
.NET Reflector 7 EAP forum

IEnumerable<> issue

Search in .NET Reflector 7 EAP forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Thu Feb 03, 2011 11:19 pm    Post subject: IEnumerable<> issue Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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