[Mono-devel-list] Bug in System.Web.UI.ControlCollection.cs

MN mn at electroputere.ro
Tue Dec 14 07:09:39 EST 2004


                public virtual void RemoveAt (int index)
                {
                        if (readOnly)
                                throw new HttpException ();

                        version++;
                        Control ctrl = controls [index];
                        // BUG should be count - index -1
                        Array.Copy (controls, index + 1, controls, index,
count - index );
                        count--;
                        owner.RemovedControl (ctrl);
                }




More information about the Mono-devel-list mailing list