[Mono-list] Mono parsing error on multiline if

Smjert smjert30 at libero.it
Fri Oct 16 18:15:48 EDT 2009

I have a multiline if with lots of condition and the Mono compiler (1.9.1)
when compile the source code stops giving "error CS8025: Parsing error".
Here's the example:

if(a = b || b != c
|| d < c 
|| f > h)
return true; <--- this is the line where the parsing error occurs.

This source code compile with the Windows C# compiler.. what's wrong with
Is the problem the conditions splitted into multiple lines (but they are a
lot... it will result "ugly" to have them on one line)?
View this message in context: http://www.nabble.com/Mono-parsing-error-on-multiline-if-tp25932445p25932445.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list