I am having problems with a simple class under mono 0.19.  I copied the 
FileSelection class from test in order to try something.  When I tried to 
compile it there was some syntax errors. I tried to trim it down and nothing 
happended.  I am attaching the file.

Is this a parser bug or did I missed something?

This is the error:

syntax error, expecting OPERATOR THIS OPEN_BRACKET STAR IDENTIFIER
gui_file_selection.cs(9) error CS-0025: : Parsing error
Mono.CSharp.yyParser.yyException: irrecoverable syntax error
in <0x00701> 00 Mono.CSharp.CSharpParser:yyparse 
(Mono.CSharp.yyParser.yyInput)
in <0x00075> 00 Mono.CSharp.CSharpParser:parse ()

Compilation failed: 1 error(s), 0 warnings
using System;

using Gtk;
using GtkSharp;

public class FileSelection
{
	FileSelection window = new FileSelection();
	window.ShowAll();
}

Reply via email to