[Mono-bugs] [Bug 62232][Wis] Changed - We don't report cs0208
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 1 Aug 2004 13:57:59 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=62232
--- shadow/62232 2004-08-01 13:54:22.000000000 -0400
+++ shadow/62232.tmp.15187 2004-08-01 13:57:59.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 62232
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: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -32,6 +32,22 @@
t.cs(5,3): error CS0208: Cannot take the address of, get the size of, or
declare a pointer to a managed type ('X')
t.cs(1,15): (Location of symbol related to previous error)
t.cs(5,10): error CS0208: Cannot take the address of, get the size of, or
declare a pointer to a managed type ('X')
+
+------- Additional Comments From bmaurer@users.sf.net 2004-08-01 13:57 -------
+From the spec:
+
+`A pointer-type is written as an unmanaged-type or the keyword void,
+followed by a *'
+
+`An unmanaged-type is any type that isn't a reference-type and doesn't
+contain reference-type fields at any level of nesting. In other words,
+an unmanaged-type is one of the following:
+
+ * sbyte, byte, ...
+ * Any enum-type.
+ * Any pointer-type.
+ * Any user-defined struct-type that contains fields of
+unmanaged-types only.'