Fixlets
authorMarek Habersack <grendel@twistedcode.net>
Thu, 30 Nov 2006 09:45:00 +0000 (09:45 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 30 Nov 2006 09:45:00 +0000 (09:45 -0000)
svn path=/trunk/mcs/; revision=68736

mcs/class/System.Design/System.ComponentModel.Design/ChangeLog
mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs

index 4b52cf0eb13f13fc64cf5fe2b40abcde3fd4419a..768bea9234fbe6ad2767b7f54106b3060b43e8d4 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-30  Marek Habersack  <grendello@gmail.com>
+
+       * ComponentDesigner.cs: Add a missing 'verbs' variable and set the
+       correct return value for Contains.
+
 2006-11-29  Miguel de Icaza  <miguel@novell.com>
 
        * ComponentDesigner.cs: Remove a few exceptions being thrown from
index ff0bd19c255b99e0f942ba8dd2b71d5417900c43..2f87cbd92900d716296c63ca4f233589a9999bdc 100644 (file)
@@ -63,7 +63,7 @@ namespace System.ComponentModel.Design
                        public bool Contains (string propertyName)
                        {
                                if (collection == null)
-                                       return null;
+                                       return false;
 
                                return collection.Contains (propertyName);
                        }
@@ -71,6 +71,7 @@ namespace System.ComponentModel.Design
 
                IComponent component;
                ShadowPropertyCollection shadow_property_collection;
+               DesignerVerbCollection verbs;
                
                public ComponentDesigner ()
                {