func init if(linked("Items")) this.setfield(this.name, d("Items") && '') end end func doAdd(data) blk.println(this.codename, '.Add(', data, ');') end func doAddRange(data) blk.println(this.codename, '.AddRange(', sys.if_null(data), ');') end func doInsert(data) blk.println(this.codename, '.Insert(', d("Index"), ', ', data, ');') end func doItem(data) blk.println(this.codename, '[', d("Index"), '] = ', data, ';') end func doClear blk.println(this.codename, '.Clear();') end func doRemoveAt blk.println(this.codename, '.RemoveAt(', d("Index"), ');') end func Count return(this.codename && '.Count') end