Exemplo n.º 1
0
        // Token: 0x06000163 RID: 355 RVA: 0x00005F94 File Offset: 0x00004F94
        public virtual object Clone()
        {
            WriteableCollection writeableCollection = (WriteableCollection)base.MemberwiseClone();

            writeableCollection.m_array = new ArrayList();
            for (int i = 0; i < this.m_array.Count; i++)
            {
                writeableCollection.Add(Convert.Clone(this.m_array[i]));
            }
            return(writeableCollection);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a deep copy of the collection.
        /// </summary>
        public virtual object Clone()
        {
            WriteableCollection clone = (WriteableCollection)this.MemberwiseClone();

            clone.m_array = new ArrayList();

            for (int ii = 0; ii < m_array.Count; ii++)
            {
                clone.Add(Opc.Convert.Clone(m_array[ii]));
            }

            return(clone);
        }