public override void SetLength(long length) { throw new NotSupportedException(SR.GetString(SR.net_readonlystream)); }