[Mono-list] Casting delegates

Kris Luyten Kris Luyten <kris.luyten@gmail.com>
Tue, 15 Feb 2005 21:22:09 +0100


Hello,

I am trying to compile Picollo.Net
(http://www.cs.umd.edu/hcil/piccolo/) with mono. Picollo is a toolkit
to create zoomable user interfaces.

It seems mcs can not compile statements of the following structure:
"((PInputEventHandler)each)(this, e);" where each is of type Delegate,
and PInputEventHandler is defined as "public delegate void
PInputEventHandler(object sender, PInputEventArgs e);".

mcs --version: Mono C# compiler version 1.1.3.0

Is this type of construct not yet supported by mono?

Regards,