6 writes to m_array
mscorlib (6)
system\collections\bitarray.cs (6)
51
m_array
= new int[GetArrayLength(length, BitsPerInt32)];
82
m_array
= new int[GetArrayLength(bytes.Length, BytesPerInt32)];
121
m_array
= new int[GetArrayLength(values.Length, BitsPerInt32)];
151
m_array
= new int[values.Length];
171
m_array
= new int[arrayLength];
334
m_array
= newarray;
33 references to m_array
mscorlib (33)
system\collections\bitarray.cs (33)
55
for (int i = 0; i <
m_array
.Length; i++) {
56
m_array
[i] = fillValue;
88
m_array
[i++] = (bytes[j] & 0xff) |
100
m_array
[i] = ((bytes[j + 2] & 0xff) << 16);
104
m_array
[i] |= ((bytes[j + 1] & 0xff) << 8);
108
m_array
[i] |= (bytes[j] & 0xff);
126
m_array
[i/32] |= (1 << (i%32));
154
Array.Copy(values,
m_array
, values.Length);
174
Array.Copy(bits.
m_array
,
m_array
, arrayLength);
200
return (
m_array
[index / 32] & (1 << (index % 32))) != 0;
216
m_array
[index / 32] |= (1 << (index % 32));
218
m_array
[index / 32] &= ~(1 << (index % 32));
231
m_array
[i] = fillValue;
252
m_array
[i] &= value.
m_array
[i];
274
m_array
[i] |= value.
m_array
[i];
296
m_array
[i] ^= value.
m_array
[i];
311
m_array
[i] = ~
m_array
[i];
330
if (newints >
m_array
.Length || newints + _ShrinkThreshold <
m_array
.Length) {
333
Array.Copy(
m_array
, newarray, newints >
m_array
.Length ?
m_array
.Length : newints);
342
m_array
[last] &= (1 << bits) - 1;
346
Array.Clear(
m_array
, last + 1, newints - last - 1);
370
Array.Copy(
m_array
, 0, array, index, GetArrayLength(m_length, BitsPerInt32));
380
b[index + i] = (byte)((
m_array
[i/4] >> ((i%4)*8)) & 0x000000FF); // Shift to bring the required byte to LSB, then mask
389
b[index + i] = ((
m_array
[i/32] >> (i%32)) & 0x00000001) != 0;
410
BitArray bitArray = new BitArray(
m_array
);