bugDotGNU Portable.NET - Bugs: bug #9974, readonly fields are writeable via...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9974: readonly fields are writeable via reflection

Submitter:  Andre Seidelt <Ilu>
Submitted:  Wed 11 Aug 2004 03:15:38 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 11 Aug 2004 03:34:33 PM UTC, comment #2: 

Committed to CVS 11th Aug 2004.

Gopal.V <t3rmin4t0r>
Group administrator
Wed 11 Aug 2004 03:16:44 PM UTC, comment #1: 

strip the 'not' from the headline and change 'vie' to 'via' :-)

Andre Seidelt <Ilu>
Wed 11 Aug 2004 03:15:38 PM UTC, original submission:  

it is possible to use FieldInfo.SetValue() to write into
readonly fields. The runtime should throw a FieldAccessException is that case.

Andre Seidelt <Ilu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-11 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-08-11 t3rmin4t0r Summaryreadonly fields are not writeable vie reflection readonly fields are writeable via reflection

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code