[MonoDevelop] Casting Delegates

Todd Berman tberman@off.net
Tue, 15 Feb 2005 12:15:16 -0800


On Tue, 2005-02-15 at 21:11 +0100, Kris Luyten wrote:
>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,
>Kris

You would get better mileage sending this email to the mono-list, not
the monodevelop-list. This list is for discussion of the MonoDevelop
IDE.

--Todd