public virtual void CopyTo(DigitalPicnik.ListCollection collection, bool deep) { if ((typeof(System.ICloneable).IsAssignableFrom(typeof(DigitalPicnik.List)) == false)) { deep = false; } System.Collections.Generic.IEnumerator <DigitalPicnik.List> enumerator = this.GetEnumerator(); bool b; for (b = enumerator.MoveNext(); b; b = enumerator.MoveNext()) { if ((deep == true)) { collection.Add(((DigitalPicnik.List)(((System.ICloneable)(enumerator.Current)).Clone()))); } else { collection.Add(enumerator.Current); } } }