3 writes to _bits
System.Private.Xml (3)
System\Xml\Schema\BitSet.cs (3)
21
_bits
= bits;
27
_bits
= new uint[Subscript(count + bitSlotMask)];
246
_bits
= newBits;
34 references to _bits
System.Private.Xml (34)
System\Xml\Schema\BitSet.cs (34)
45
int bitsLength =
_bits
.Length;
48
_bits
[i] = 0;
56
_bits
[nBitSlot] |= (uint)1 << (index & bitSlotMask);
66
fResult = ((
_bits
[nBitSlot] & (1 << (index & bitSlotMask))) != 0);
81
uint word =
_bits
[nBitSlot] >> offset;
85
if ((++nBitSlot) ==
_bits
.Length)
90
word =
_bits
[nBitSlot];
113
int bitsLength =
_bits
.Length;
114
int setLength = other.
_bits
.Length;
118
_bits
[i] &= other.
_bits
[i];
122
_bits
[n] = 0;
133
int setLength = other.
_bits
.Length;
137
_bits
[i] |= other.
_bits
[i];
144
for (int i =
_bits
.Length; --i >= 0;)
146
h ^= unchecked((int)
_bits
[i] * (i + 1));
163
int bitsLength =
_bits
.Length;
164
int setLength = other.
_bits
.Length;
168
if (
_bits
[i] != other.
_bits
[i])
177
if (
_bits
[i] != 0)
187
if (other.
_bits
[i] != 0)
200
return new BitSet(_count, (uint[])
_bits
.Clone());
209
for (int i = 0; i <
_bits
.Length; i++)
211
k |=
_bits
[i];
219
int i = Math.Min(
_bits
.Length, other.
_bits
.Length);
222
if ((
_bits
[i] & other.
_bits
[i]) != 0)
238
if (nRequiredLength >
_bits
.Length)
241
int request = 2 *
_bits
.Length;
245
Array.Copy(
_bits
, newBits,
_bits
.Length);