public override bool Equals(object obj) { BitList bitList = (BitList)obj; if (this.bitLength != bitList.bitLength) { return(false); } int num = (this.bitLength >> 3) + 1; for (int i = 0; i < num; i++) { if (this.data[i] != bitList.data[i]) { return(false); } } return(true); }
public void Dispose() { this._bitList = null; this._max = 0; this._index = 0; }
public BitListEnumerator(BitList bitList_0) { this._index = -1; this._bitList = bitList_0; this._max = bitList_0.bitLength; }
public BitList(BitList bitList_0) { this.data.AddRange(bitList_0.data); this.bitLength = bitList_0.bitLength; }
public void Dispose() { _bitList = null; _max = 0; _index = 0; }
public BitListEnumerator(BitList bitList0) { _index = -1; _bitList = bitList0; _max = bitList0._bitLength; }
public BitList(BitList bitList0) { _data.AddRange(bitList0._data); _bitLength = bitList0._bitLength; }