Explorar o código

2003-03-31 Alan Tam <[email protected]

        * CollectionEditor.cs: Fixed compilation errors.
        * ComponentDesigner.cs: Fixed compilation errors.

svn path=/trunk/mcs/; revision=12950
Alan Tam %!s(int64=23) %!d(string=hai) anos
pai
achega
0552c2143f

+ 4 - 0
mcs/class/System.Design/System.ComponentModel.Design/ChangeLog

@@ -0,0 +1,4 @@
+2003-03-31	Alan Tam <[email protected]
+
+	* CollectionEditor.cs: Fixed compilation errors.
+	* ComponentDesigner.cs: Fixed compilation errors.

+ 2 - 15
mcs/class/System.Design/System.ComponentModel.Design/CollectionEditor.cs

@@ -128,7 +128,7 @@ namespace System.ComponentModel.Design
 		}
 
 		[MonoTODO]
-		public object EditValue (ITypeDescriptorContext context,
+		public override object EditValue (ITypeDescriptorContext context,
 						  IServiceProvider provider,
 						  object value)
 		{
@@ -136,25 +136,12 @@ namespace System.ComponentModel.Design
 		}
 
 		[MonoTODO]
-		public object EditValue (IServiceProvider provider,
-					 object value)
-		{
-			throw new NotImplementedException();
-		}
-
-		[MonoTODO]
-		public UITypeEditorEditStyle GetEditStyle (
+		public override UITypeEditorEditStyle GetEditStyle (
 						      ITypeDescriptorContext context)
 		{
 			throw new NotImplementedException();
 		}
 
-		[MonoTODO]
-		public UITypeEditorEditStyle GetEditStyle()
-		{
-			throw new NotImplementedException();
-		}
-
 		protected Type CollectionItemType {
 			[MonoTODO]
 			get { throw new NotImplementedException(); }

+ 12 - 6
mcs/class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs

@@ -122,37 +122,43 @@ namespace System.ComponentModel.Design
 		}
 
 		[MonoTODO]
-		protected virtual void PostFilterAttributes (IDictionary attributes)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PostFilterAttributes (IDictionary attributes)
 		{
 			throw new NotImplementedException();
 		}
 
 		[MonoTODO]
-		protected virtual void PostFilterEvents (IDictionary events)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PostFilterEvents (IDictionary events)
 		{
 			throw new NotImplementedException();
 		}
 
 		[MonoTODO]
-		protected virtual void PostFilterProperties (IDictionary properties)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PostFilterProperties (IDictionary properties)
 		{
 			throw new NotImplementedException();
 		}
 
 		[MonoTODO]
-		protected virtual void PreFilterAttributes (IDictionary attributes)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PreFilterAttributes (IDictionary attributes)
 		{
 			throw new NotImplementedException();
 		}
 
 		[MonoTODO]
-		protected virtual void PreFilterEvents (IDictionary events)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PreFilterEvents (IDictionary events)
 		{
 			throw new NotImplementedException();
 		}
 
 		[MonoTODO]
-		protected virtual void PreFilterProperties (IDictionary properties)
+		// LAMESPEC: Spec says protected but cannot compile
+		public virtual void PreFilterProperties (IDictionary properties)
 		{
 			throw new NotImplementedException();
 		}