瀏覽代碼

make Clone abstract

svn path=/trunk/mcs/; revision=51972
Konstantin Triger 20 年之前
父節點
當前提交
11cef73fa4

+ 4 - 0
mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog

@@ -1,3 +1,7 @@
+2005-10-20 Konstantin Triger <[email protected]>
+
+        * Metafile.jvm.cs: implement abstact Clone
+
 2005-10-04 Peter Dennis Bartok <[email protected]>
 
 	* EncoderParameter.cs, EncoderParameters.cs: Calling GC.SuppressFinalize

+ 5 - 0
mcs/class/System.Drawing/System.Drawing.Imaging/Metafile.jvm.cs

@@ -299,6 +299,11 @@ namespace System.Drawing.Imaging {
 			throw new NotImplementedException ();
 		}
 
+		#region Clone
+		public override object Clone() {
+			throw new NotImplementedException ();
+		}
+		#endregion
 
 	}
 

+ 4 - 0
mcs/class/System.Drawing/System.Drawing/ChangeLog

@@ -1,3 +1,7 @@
+2005-10-20 Konstantin Triger <[email protected]>
+
+        * Image.jvm.cs: make Clone abstract
+
 2005-10-20 Konstantin Triger <[email protected]>
 
         * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont

+ 1 - 3
mcs/class/System.Drawing/System.Drawing/Image.jvm.cs

@@ -120,9 +120,7 @@ namespace System.Drawing {
 		#endregion
 
 		#region Clone
-		public virtual object Clone() {
-			throw new NotImplementedException ("Must be implemented in child class");
-		}
+		public abstract object Clone();
 		#endregion
 
 		// static