[Mono-bugs] [Bug 78194][Nor] Changed - PropertyGrid crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 26 00:50:20 EDT 2006
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 jonathan.chambers at ansys.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78194
--- shadow/78194 2006-04-25 17:50:50.000000000 -0400
+++ shadow/78194.tmp.30597 2006-04-26 00:50:20.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 78194
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Windows.Forms
AssignedTo: peter at novonyx.com
ReportedBy: miguel at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -62,6 +62,30 @@
(System.Windows.Forms.MSG msg)
in <0x00682> System.Windows.Forms.Application:RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context)
in <0x00021> System.Windows.Forms.Application:Run
(System.Windows.Forms.Form mainForm)
in <0x0003d> MWFTestApplication.MainWindow:Main (System.String[] args)
+
+------- Additional Comments From jonathan.chambers at ansys.com 2006-04-26 00:50 -------
+Simple test. No exception on .Net, but mono throws exception when
+calling CanResetValue on PropertyDescriptor; this is the cause of the
+crash in propertygrid.
+
+using System;
+using System.ComponentModel;
+using System.Drawing;
+using System.Windows.Forms;
+
+class T
+{
+ static void Main(string[] args)
+ {
+ Control c = new Control();
+ foreach (PropertyDescriptor property in
+TypeDescriptor.GetProperties(typeof(Control))) {
+ Console.WriteLine("Property: {0}, CanResetValue:
+{1}",property.Name,property.CanResetValue(c));
+ }
+ }
+}
+
More information about the mono-bugs
mailing list