Bugzilla – Bug 316745
[REGRESSION] mcs improperly emitting CS0214 for properties with set accessors
Last modified: 2007-09-15 21:24:23 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".