Bug 316745 (MONO70817) - [REGRESSION] mcs improperly emitting CS0214 for properties with set accessors
Summary: [REGRESSION] mcs improperly emitting CS0214 for properties with set accessors
Status: RESOLVED FIXED
Alias: MONO70817
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Marek Safar
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 00:53 UTC by Geoff Norton
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:02:26 UTC


---- Reported by grompf@sublimeintervention.com 2004-12-26 17:53:18 MST ----

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



---- Additional Comments From bmaurer@users.sf.net 2004-12-26 18:31:58 MST ----

Marek, I have no idea how the refactoring that was done for custom
accessors works. Am assigning. Can you please add some comments in the
code?


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>OSX 10.3.7</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".