[Mono-devel-list] Enabling iterators

Alan Jenkins sourcejedi at phonecoop.coop
Sat Feb 21 17:11:07 EST 2004


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?


More information about the Mono-devel-list mailing list