[Mono-bugs] [Bug 38799][Nor] New - Delegate compile error using mcs under MS.NET runtime.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 26 Feb 2003 19:50:47 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by brianlritchie@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=38799

--- shadow/38799	Wed Feb 26 19:50:47 2003
+++ shadow/38799.tmp.27762	Wed Feb 26 19:50:47 2003
@@ -0,0 +1,55 @@
+Bug#: 38799
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: mcs on MS.NET
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: brianlritchie@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Delegate compile error using mcs under MS.NET runtime.
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+-----------------------
+Compiler error when compiling the delegate using mcs under the MS.NET 
+runtime.  It works fine with mcs under mono runtime...or csc under MS.NET 
+runtime.
+
+Steps to reproduce the problem:
+--------------------------------
+1. Compile the following to a library using mcs
+
+namespace Test
+{
+   public delegate void CloseFTP();
+}
+ 
+
+Actual Results:
+
+Unhandled Exception: System.NotSupportedException: Type CloseFTP 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)
+(null)
+
+
+Expected Results:
+Compile to library
+
+How often does this happen? 
+Everytime
+
+Additional Information: