[WinForms] Fix Bindable attribute argument to use boolean
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Sat, 11 Mar 2017 00:01:30 +0000 (01:01 +0100)
committerGitHub <noreply@github.com>
Sat, 11 Mar 2017 00:01:30 +0000 (01:01 +0100)
Otherwise mono-api-info crashes on System.Windows.Forms.dll with a NotImplementedException.
This is the only place in the codebase where we used `BindableSupport.Yes` instead of `true`.

mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs

index bb77b646c632cef7cc440854c1489ecad5d33598..8a959c902c6c40432aa303ec7b9070b8c7afeb6c 100644 (file)
@@ -203,7 +203,7 @@ namespace System.Windows.Forms
                        set;
                }
 
-               [Bindable(BindableSupport.Yes)]
+               [Bindable(true)]
                [Browsable(false)]
                [DefaultValue(null)]
                [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]