3 writes to bits
System.Xml (3)
System\Xml\Schema\BitSet.cs (3)
25bits = new uint[Subscript(count + bitSlotMask)]; 172newset.bits = (uint[])bits.Clone(); 210bits = newBits;
35 references to bits
System.Xml (35)
System\Xml\Schema\BitSet.cs (35)
39int bitsLength = bits.Length; 41bits[i] = 0; 48bits[nBitSlot] &= ~((uint)1 << (index & bitSlotMask)); 54bits[nBitSlot] |= (uint)1 << (index & bitSlotMask); 62fResult = ((bits[nBitSlot] & (1 << (index & bitSlotMask))) != 0); 75uint word = bits[nBitSlot] >> offset; 78if ((++ nBitSlot) == bits.Length ) { 82word = bits[nBitSlot]; 102int bitsLength = bits.Length; 103int setLength = other.bits.Length; 106bits[i] &= other.bits[i]; 109bits[n] = 0; 118int setLength = other.bits.Length; 121bits[i] |= other.bits[i]; 127for (int i = bits.Length; --i >= 0;) { 128h ^= (int)bits[i] * (i + 1); 142int bitsLength = bits.Length; 143int setLength = other.bits.Length; 146if (bits[i] != other.bits[i]) { 152if (bits[i] != 0) { 159if (other.bits[i] != 0) { 172newset.bits = (uint[])bits.Clone(); 180for (int i = 0; i < bits.Length; i++) { 181k |= bits[i]; 188int i = Math.Min(this.bits.Length, other.bits.Length); 190if ((this.bits[i] & other.bits[i]) != 0) { 203if (nRequiredLength > bits.Length) { 205int request = 2 * bits.Length; 209Array.Copy(bits, newBits, bits.Length);