[Mono-bugs] [Bug 52177][Maj] New - System.Reflection.FieldInfo.SetValue(object obj, object value)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Dec 2003 06:18:25 -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 erand@mainsoft.com.


--- shadow/52177	2003-12-15 06:18:25.000000000 -0500
+++ shadow/52177.tmp.23624	2003-12-15 06:18:25.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 52177
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: erand@mainsoft.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: System.Reflection.FieldInfo.SetValue(object obj, object value)
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+System.Reflection.FieldInfo.SetValue(object obj, object value) does not
+throw an exception when value type is differend from field type.
+Steps to reproduce the problem:
+1. open the attached Class1.cs file.
+2. compile the file and run.
+Actual Results:
+No exception thrown.
+Expected Results:
+Exception should be thrown because there is an assignment of Decimal value
+to string field.
+How often does this happen? 
+Additional Information: