public override void Write(byte[] buffer, int offset, int size) { throw new InvalidOperationException(SR.net_readonlystream); }