[Mono-list] Delegate compile error

Brian Ritchie brianlritchie@hotmail.com
Sun, 23 Feb 2003 21:31:50 -0500

The following snippet is causing an error when compiling with mcs (on 
cygwin).  csc works fine.

namespace Test
	public delegate void CloseFTP();

Unhandled Exception: System.NotSupportedException: Type CloseFTP was not 
   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)

Any ideas?  Am I doing something wrong...or...Should I log it as a bug?


MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.