[Mono-bugs] [Bug 70817][Wis] New - mcs improperly emitting CS0214 for properties with set accessors - regression
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 26 Dec 2004 17:53:18 -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 grompf@sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70817
--- shadow/70817 2004-12-26 17:53:18.000000000 -0500
+++ shadow/70817.tmp.18951 2004-12-26 17:53:18.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 70817
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: OSX 10.3.7
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: grompf@sublimeintervention.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs improperly emitting CS0214 for properties with set accessors - regression
+
+The following class will emit:
+
+t.cs(3) error CS0214: Pointers may only be used in an unsafe context
+
+This is a regression.
+
+class T{
+ unsafe private byte *ptr;
+ unsafe internal byte * Ptr {
+ get { return ptr; }
+ set { ptr = value; }
+ }
+}
+
+-kangaroo