[Mono-list] Delegate compilation error
Alejandro Sánchez
alejasanch@yahoo.es
Tue, 25 Nov 2003 21:05:15 +0100
With daily binary package mono-0.28.99.20031125.tar.gz
$ mcs MyApp.cs
syntax error, expecting OPEN_BRACKET STAR IDENTIFIER
MyApp-striped.cs(13) error CS1041: Identifier expected
Compilation failed: 1 error(s), 0 warnings
namespace MyApp {
using System;
public class MyApp {
public static void Main (string[] args) {
}
}
delegate void ButtonClickedEventHandler (object o,
ButtonClickedEventArgs);
class ButtonClickedEventArgs : EventArgs {
string mystring;
public string MyString {
get {
return mystring;
}
}
public ButtonClickedEventArgs(string MyString) : base(){
mystring = MyString;
}
}
}