Author: jackson
Date: 2006-03-16 01:14:12 -0500 (Thu, 16 Mar 2006)
New Revision: 58058

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingContext.cs
Log:

        Oops last second 'cleanup' broke something.  We need to allow
creating null members in data sets.



Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingContext.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingContext.cs    
    2006-03-16 06:05:18 UTC (rev 58057)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/BindingContext.cs    
    2006-03-16 06:14:12 UTC (rev 58058)
@@ -50,6 +50,8 @@
 
                        public BindingManagerBase AddMember (string member)
                        {
+                               if (member == null)
+                                       member = String.Empty;
                                BindingManagerBase res = members [member] as 
BindingManagerBase;
                                if (res != null)
                                        return res;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to