[Mono-devel-list] iterators again! (CS0204)

Alan Jenkins sourcejedi at phonecoop.coop
Wed Feb 25 15:42:48 EST 2004


The error message in the subject reads as follows

yield statement can only be used within a method, operator or property

Unfortunately the latter two don't work.  You only use iterators from
methids, not properties or operators.

I'll write a patch as soon as I have the CVS checked out on my machine;
I've looked and it shouldn't be at all difficult to fix.



More information about the Mono-devel-list mailing list