private static void ThrowStreamClosedException() { throw new ObjectDisposedException(null, SR.ObjectDisposed_StreamClosed); } }