[Mono-bugs] [Bug 38590][Nor] New - Reproducible exception when compiling an Enum
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 24 Feb 2003 06:51:45 -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 vmcqueen@users.sourceforge.net.
http://bugzilla.ximian.com/show_bug.cgi?id=38590
--- shadow/38590 Mon Feb 24 06:51:45 2003
+++ shadow/38590.tmp.10996 Mon Feb 24 06:51:45 2003
@@ -0,0 +1,61 @@
+Bug#: 38590
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vmcqueen@users.sourceforge.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Reproducible exception when compiling an Enum
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+Reproducible System.NotSupportedException when compiling an enumeration
+(Enum).
+
+Steps to reproduce the problem:
+
+test.cs:
+
+namespace X
+{
+ enum MyEnum
+ {
+ A,
+ B,
+ C
+ }
+}
+
+mcs /target:library test.cs
+
+Actual Results:
+
+Unbehandelte Ausnahme: System.NotSupportedException: Der Typ MyEnum wurde
+noch nicht abgeschlossen.
+ 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)
+
+Expected Results:
+
+
+How often does this happen?
+
+Every time, reproducible
+
+Additional Information:
+
+Microsoft .NET Framework 1.0, Mono C# Compiler 0.19.1