[Mono-bugs] [Bug 55318][Nor] Changed - Invalid error CS0214 when compiling unsafe code in an unsafe context
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Mar 2004 11:56:38 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55318
--- shadow/55318 2004-03-08 14:25:13.000000000 -0500
+++ shadow/55318.tmp.3598 2004-03-11 11:56:38.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 55318
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: NOTABUG
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: gert.driesen@pandora.be
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -31,6 +31,13 @@
Int32* GetIntPointer();
}
}
this compiles without error on MS.NET, and I can reproduce the error on
Mono/Linux cvs and Mono/Windows 0.30.
+
+------- Additional Comments From miguel@ximian.com 2004-03-11 11:56 -------
+This is a bug on the Microsoft C# compiler; The specification for
+the C# language states that interfaces that expose unsafe members
+must use the 'unsafe' modifier.
+
+It would be useful to report that to Microsoft.