Stream.CopyTo is nice to have everywhere
authorJb Evain <jbevain@gmail.com>
Mon, 13 Jun 2011 21:05:54 +0000 (23:05 +0200)
committerJb Evain <jbevain@gmail.com>
Mon, 13 Jun 2011 21:06:15 +0000 (23:06 +0200)
mcs/class/corlib/System.IO/Stream.cs

index eeaedd8b15ad1e32f00f20fa69cd2954a8aad11f..6efed1c355a74e79fc7a5a266eaa1d9572ddbed6 100644 (file)
@@ -262,7 +262,7 @@ namespace System.IO
                                throw result.Exception;
                }
 
-#if MOONLIGHT || NET_4_0
+#if MOONLIGHT || NET_4_0 || MOBILE
                public void CopyTo (Stream destination)
                {
                        CopyTo (destination, 16*1024);