Author: mhabersack
Date: 2006-11-30 04:45:00 -0500 (Thu, 30 Nov 2006)
New Revision: 68736

Modified:
   trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
   
trunk/mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs
Log:
Fixlets

Modified: trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog        
2006-11-30 09:10:11 UTC (rev 68735)
+++ trunk/mcs/class/System.Design/System.ComponentModel.Design/ChangeLog        
2006-11-30 09:45:00 UTC (rev 68736)
@@ -1,3 +1,8 @@
+2006-11-30  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * ComponentDesigner.cs: Add a missing 'verbs' variable and set the
+       correct return value for Contains.
+
 2006-11-29  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * ComponentDesigner.cs: Remove a few exceptions being thrown from

Modified: 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs
===================================================================
--- 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs 
    2006-11-30 09:10:11 UTC (rev 68735)
+++ 
trunk/mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs 
    2006-11-30 09:45:00 UTC (rev 68736)
@@ -63,7 +63,7 @@
                        public bool Contains (string propertyName)
                        {
                                if (collection == null)
-                                       return null;
+                                       return false;
 
                                return collection.Contains (propertyName);
                        }
@@ -71,6 +71,7 @@
 
                IComponent component;
                ShadowPropertyCollection shadow_property_collection;
+               DesignerVerbCollection verbs;
                
                public ComponentDesigner ()
                {

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

Reply via email to