[Mono-list] CS0159 bug?

David Kvarnberg monolist@mellow.net
Thu, 28 Aug 2003 16:37:31 +0200


Hi,
I'm trying to compile a project that works fine on Windows (MS .NET) but
fails to compile with Mono (latest release and latest CVS as of 3 days
back).
I keep getting a lot of CS0159 errors:

Parser.cs(596) error CS0159: No such label `Foundunique' in this scope
Parser.cs(1307) error CS0159: No such label `User' in this scope
Parser.cs(1345) error CS0159: No such label `Conf' in this scope
Parser.cs(3210) error CS0159: No such label `Next' in this scope
Parser.cs(3365) error CS0159: No such label `Treeview' in this scope
Parser.cs(7766) error CS0159: No such label `Documentstatus' in this
scope
Parser.cs(7784) error CS0159: No such label `Userstatus' in this scope

And so on. I have tried narrowing the code down to the parts that won't
compile, but have not succeeded. It simply compiles fine when I reduce
the code down to what in my eyes seem to be the offending parts.

I find it kind of hard to nail down the bug since most files in the
projects depends on other files. Altogether around 30K lines of code.

Any ideas?

David