14 references to BitsPerInt32
System.Collections (14)
System\Collections\BitArray.cs (14)
202
if (values.Length > int.MaxValue /
BitsPerInt32
)
204
throw new ArgumentException(SR.Format(SR.Argument_ArrayTooLarge,
BitsPerInt32
), nameof(values));
209
m_length = values.Length *
BitsPerInt32
;
629
uint mask = uint.MaxValue >> (
BitsPerInt32
- extraBits);
643
int left = m_array[++fromIndex] << (
BitsPerInt32
- shiftCount);
646
uint mask = uint.MaxValue >> (
BitsPerInt32
- extraBits);
694
uint right = (uint)m_array[--fromindex] >> (
BitsPerInt32
- shiftCount);
831
if (m_length <
BitsPerInt32
)
853
ulong bits = (ulong)(uint)m_array[i / (uint)
BitsPerInt32
] + ((ulong)m_array[(i / (uint)
BitsPerInt32
) + 1] <<
BitsPerInt32
);
876
int bits = m_array[i / (uint)
BitsPerInt32
];
901
int bits = m_array[i / (uint)
BitsPerInt32
];
927
int bits = m_array[i / (uint)
BitsPerInt32
];