2006-12-18 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 18 Dec 2006 03:43:44 +0000 (03:43 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Mon, 18 Dec 2006 03:43:44 +0000 (03:43 -0000)
* EncoderFallbackBuffer.cs : implement Reset().

svn path=/trunk/mcs/; revision=69640

mcs/class/corlib/System.Text/ChangeLog
mcs/class/corlib/System.Text/EncoderFallbackBuffer.cs

index 039e55abf2da5213fb8d1987b3b7579125f48cb6..5e50ce19ea29e6902f0a0059548905f687f0a2f6 100644 (file)
@@ -1,3 +1,7 @@
+2006-12-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EncoderFallbackBuffer.cs : implement Reset().
+
 2006-10-25  Ben Maurer  <bmaurer@andrew.cmu.edu>
 
        * Encoding.cs: Make the GetByteCcount method used fixed pointers
index 43b69084d5144460db3d41a38ce93b449cfaa250..82348f9b7e22e61cac3c58fd418e267487abfc69 100644 (file)
@@ -48,10 +48,10 @@ namespace System.Text
 
                public abstract bool MovePrevious ();
 
-               [MonoTODO]
                public virtual void Reset ()
                {
-                       throw new NotImplementedException ();
+                       while (GetNextChar () != '\0')
+                               ;
                }
        }
 }