[Mono-bugs] [Bug 56150][Nor] New - crash with compiler exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 29 Mar 2004 02:50:58 -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 marek.safar@seznam.cz.

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

--- shadow/56150	2004-03-29 02:50:58.000000000 -0500
+++ shadow/56150.tmp.22365	2004-03-29 02:50:58.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 56150
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: crash with compiler exception
+
+This code crash compiler
+
+//Compile with /unsafe
+
+struct Obsolete {
+}
+
+class MainClass {
+        unsafe public static void Main ()
+        {
+                System.Console.WriteLine (sizeof (Obsolete));
+        }
+}
+
+Expected Results:
+
+Compile successfuly.
+
+
+How often does this happen? 
+
+
+Additional Information: