Fixed build breakage from my previous commit
authorJeffrey Stedfast <jeff@xamarin.com>
Mon, 12 Aug 2013 16:12:47 +0000 (12:12 -0400)
committerJeffrey Stedfast <jeff@xamarin.com>
Mon, 12 Aug 2013 16:12:47 +0000 (12:12 -0400)
mcs/class/corlib/System.Text/Decoder.cs

index 34995ca91d1821fe9a6cd4234924504747f6c35d..c44176989c8acdac1df35754ad32cffbc069bf14 100644 (file)
@@ -112,6 +112,7 @@ public abstract class Decoder
                Marshal.Copy ((IntPtr) bytes, barr, 0, byteCount);
                int charsUsed = GetChars (barr, 0, byteCount, carr, 0, flush);
                Marshal.Copy (carr, 0, (IntPtr) chars, charsUsed);
+               return charsUsed;
        }
 
        [ComVisible (false)]