// Token: 0x06000C52 RID: 3154 RVA: 0x0002FAFC File Offset: 0x0002DCFC public GrabBag(global::GrabBag <T> copy) { if (copy == null || copy._length == 0) { this._length = 0; this._array = global::EmptyArray <T> .array; } else { this._length = copy._length; this._array = new T[this._length]; Array.Copy(copy._array, this._array, this._length); } }
// Token: 0x06000C57 RID: 3159 RVA: 0x0002FC1C File Offset: 0x0002DE1C IEnumerator IEnumerable.GetEnumerator() { IEnumerator result; if (this._length == 0) { IEnumerator <T> emptyEnumerator = global::EmptyArray <T> .emptyEnumerator; result = emptyEnumerator; } else { result = new global::GrabBag <T> .KlassEnumerator(this); } return(result); }
// Token: 0x06000C85 RID: 3205 RVA: 0x000302AC File Offset: 0x0002E4AC public KlassEnumerator(global::GrabBag <T> array) { this.array = array; this.index = -1; }