5 references to IntSize
System.Collections (5)
src\libraries\Common\src\System\Collections\Generic\BitHelper.cs (5)
26
uint bitArrayIndex = (uint)bitPosition /
IntSize
;
32
span[(int)bitArrayIndex] |= (1 << (int)((uint)bitPosition %
IntSize
));
40
uint bitArrayIndex = (uint)bitPosition /
IntSize
;
46
(span[(int)bitArrayIndex] & (1 << ((int)((uint)bitPosition %
IntSize
)))) != 0;
50
internal static int ToIntArrayLength(int n) => n > 0 ? ((n - 1) /
IntSize
+ 1) : 0;