[Mono-bugs] [Bug 55318][Nor] Changed - Invalid error CS0214 when compiling unsafe code in interface

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Mar 2004 14:44:46 -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 gert.driesen@pandora.be.

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

--- shadow/55318	2004-03-11 13:31:36.000000000 -0500
+++ shadow/55318.tmp.6558	2004-03-11 14:44:46.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 55318
 Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: NOTABUG
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gert.driesen@pandora.be               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Invalid error CS0214 when compiling unsafe code in an unsafe context
+Summary: Invalid error CS0214 when compiling unsafe code in interface
 
 mcs reports this error
 
 unsafe.cs(4) error CS0214: Pointers may only be used in an unsafe context
 Compilation failed: 1 error(s), 0 warnings
 
@@ -47,6 +47,20 @@
 
 Is there a list in cvs of discovered issues in csc or .NET in 
 general, so we can report these to MS ?
 
 ------- Additional Comments From gert.driesen@pandora.be  2004-03-11 13:31 -------
 This issue is already fixed in .NET 2.0.
+
+------- Additional Comments From gert.driesen@pandora.be  2004-03-11 14:44 -------
+Miguel,
+
+even when explicitly specifying the 'unsafe' modifier, I get the 
+CS0214 error on Mono/Windows 0.30.
+
+namespace UnsafeTest {
+        public interface IUnsafe {
+                unsafe Int32* GetIntPointer();
+        }
+}
+
+I'll check whether it still fails on Mono cvs later ...