[Mono-bugs] [Bug 55829][Nor] New - PropertyInfo.SetValue hangs when PropertInfo is incorrect
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 19 Mar 2004 19:19:39 -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 kris.luyten@luc.ac.be.
http://bugzilla.ximian.com/show_bug.cgi?id=55829
--- shadow/55829 2004-03-19 19:19:39.000000000 -0500
+++ shadow/55829.tmp.14509 2004-03-19 19:19:39.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 55829
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: Debian Sid
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: kris.luyten@luc.ac.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: PropertyInfo.SetValue hangs when PropertInfo is incorrect
+
+Description of Problem:
+If a PropertyInfo object is created with Type.GetProperty(X) and X is
+a method name, PropertyInfo.SetValue hangs for that object
+
+Steps to reproduce the problem:
+
+Button b = new Button("test");
+PropertyInfo pInfo = b.GetType().GetProperty("ModifyBg");
+System.Object[] args= new System.Object[2];
+args[0] = StateType.Normal;
+args[1] = new Gdk.Color(255,0,0);
+pInfo.SetValue(b, args, null);
+
+full example:
+http://research.edm.luc.ac.be/~kris/projects/uiml.net/examples/test16.cs
+
+Actual Results:
+pInfo.SetValue(b, args, null); hangs the program
+
+Expected Results:
+Type.GetProperty(X) should return null when
+
+
+How often does this happen?
+Always
+
+Additional Information:
+mcs/mono installed from CVS on 20/3/2004