diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-11 03:01:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-11 03:01:30 +0300 |
commit | 572e92c5970a67035bc1695519bfd0de49ae2e5f (patch) | |
tree | 801bc4883f36dcbf099403d4a0421a46b97ae2e3 /mcs/class/System.Windows.Forms | |
parent | 1de81ff1daaf02f3fe5cc66402b5ed60999a8e36 (diff) |
[WinForms] Fix Bindable attribute argument to use boolean
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`.
Diffstat (limited to 'mcs/class/System.Windows.Forms')
-rw-r--r-- | mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs index bb77b646c63..8a959c902c6 100644 --- a/mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs +++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/ListControl.cs @@ -203,7 +203,7 @@ namespace System.Windows.Forms set; } - [Bindable(BindableSupport.Yes)] + [Bindable(true)] [Browsable(false)] [DefaultValue(null)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] |