[Mono-devel-list] Enabling iterators
Alan Jenkins
sourcejedi at phonecoop.coop
Sat Feb 21 17:11:07 EST 2004
cs-parser.cs:4175-4178
if (RootContext.V2) {
Report.Error (-222, lexer.Location, "yield statement only available in
C# 2.0 mode");
yyVal = null;
}
Unless im very much mistaken... that condition should be !RootContext.V2
You wouldnt believe how confused this could make a simple person like me
:). Any idea how this got missed for so long? Surely someone must have
tried using iterators?
Alan
More information about the Mono-devel-list
mailing list