#if CONTRACTS_FULL
[ContractClass(typeof(StreamContract))]
#endif
-#if FEATURE_REMOTING
- public abstract class Stream : MarshalByRefObject, IDisposable {
+#if FEATURE_REMOTING || MONO
+ public abstract partial class Stream : MarshalByRefObject, IDisposable {
#else // FEATURE_REMOTING
public abstract class Stream : IDisposable {
#endif // FEATURE_REMOTING
InternalCopyTo(destination, _DefaultCopyBufferSize);
}
+#if MONO
+ virtual
+#endif
public void CopyTo(Stream destination, int bufferSize)
{
if (destination == null)