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