[Mono-list] delegate support ?

Gert Driesen gert.driesen@pandora.be
Wed, 26 Feb 2003 18:36:26 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_004F_01C2DDC5.F8539C00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I'm very new to Mono and I wonder if we should you be able to use =
delegates in Mono (version 0.20) ?

I was just trying to build log4net on Mono, but the compiler throws the =
following exception :

Unhandled Exception: System.NotSupportedException: Type =
LoggerRepositoryShutdown
EventHandler was not completed.
   at System.Reflection.Emit.ModuleBuilder.PreSave(String fileName)
   at System.Reflection.Emit.AssemblyBuilder.Save(String =
assemblyFileName)
   at Mono.CSharp.CodeGen.Save(String name)
   at Mono.CSharp.Driver.MainDriver(String[] args)
   at Mono.CSharp.Driver.Main(String[] args)

I'm building it on Windows, don't know if that has anything to do with =
it.

Thanks,

Gert
------=_NextPart_000_004F_01C2DDC5.F8539C00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3757.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm very new to Mono and I wonder if we =
should you=20
be able to use delegates in Mono (version 0.20) ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I was just trying to build log4net on =
Mono, but the=20
compiler throws&nbsp;the following exception&nbsp;:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Unhandled Exception: =
System.NotSupportedException:=20
Type LoggerRepositoryShutdown<BR>EventHandler was not =
completed.<BR>&nbsp;&nbsp;=20
at System.Reflection.Emit.ModuleBuilder.PreSave(String =
fileName)<BR>&nbsp;&nbsp;=20
at System.Reflection.Emit.AssemblyBuilder.Save(String=20
assemblyFileName)<BR>&nbsp;&nbsp; at Mono.CSharp.CodeGen.Save(String=20
name)<BR>&nbsp;&nbsp; at Mono.CSharp.Driver.MainDriver(String[]=20
args)<BR>&nbsp;&nbsp; at Mono.CSharp.Driver.Main(String[] =
args)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm building it on Windows, don't know =
if that has=20
anything to do with it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gert</FONT></DIV></BODY></HTML>

------=_NextPart_000_004F_01C2DDC5.F8539C00--