[Mono-bugs] [Bug 52651][Wis] Changed - Error in code block containing fixed and unsafe

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 6 Jan 2004 22:30:26 -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 duncan@ximian.com.

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

--- shadow/52651	2004-01-06 22:19:09.000000000 -0500
+++ shadow/52651.tmp.31453	2004-01-06 22:30:26.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 52651
 Product: Mono/Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: duncan@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,22 @@
 Mono.CSharp.InternalParameters, Mono.CSharp.Location)
 
 ------- Additional Comments From duncan@ximian.com  2004-01-06 22:19 -------
 Created an attachment (id=6365)
 Test case
 
+
+------- Additional Comments From duncan@ximian.com  2004-01-06 22:30 -------
+This is even shorter:
+
+using System.Runtime.InteropServices;
+
+class Bug {
+        static void Main ()
+        {
+                unsafe {
+                        System.IntPtr tmp = Marshal.AllocHGlobal (10);
+                        fixed (int *f = (int *) tmp) {}
+                }
+        }
+}
+