[Mono-bugs] [Bug 64896][Nor] New - unsafe should be required to use pointers
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 31 Aug 2004 09:28:20 -0400 (EDT)
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 ndrochak@gol.com.
http://bugzilla.ximian.com/show_bug.cgi?id=64896
--- shadow/64896 2004-08-31 09:28:20.000000000 -0400
+++ shadow/64896.tmp.26820 2004-08-31 09:28:20.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 64896
+Product: Mono: Compilers
+Version: unspecified
+OS: Windows XP (Cygwin)
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ndrochak@gol.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: unsafe should be required to use pointers
+
+The following code is compile without errors by mcs, however csc
+complains that 'unsafe' is required to use pointers:
+
+using System;
+
+namespace ConsoleApplication1
+{
+ class Class1
+ {
+ static void Main(string[] args)
+ {
+ string s = typeof(void *).Name;
+ }
+ }
+}