5 references to IntSize
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Internal\BitHelper.cs (5)
36uint bitArrayIndex = (uint)bitPosition / IntSize; 42span[(int)bitArrayIndex] |= (1 << (int)((uint)bitPosition % IntSize)); 50uint bitArrayIndex = (uint)bitPosition / IntSize; 56(span[(int)bitArrayIndex] & (1 << ((int)((uint)bitPosition % IntSize)))) != 0; 60internal static int ToIntArrayLength(int n) => n > 0 ? ((n - 1) / IntSize + 1) : 0;