5 references to IntSize
Microsoft.CodeAnalysis.Collections.Package (5)
Internal\BitHelper.cs (5)
34uint bitArrayIndex = (uint)bitPosition / IntSize; 40span[(int)bitArrayIndex] |= (1 << (int)((uint)bitPosition % IntSize)); 48uint bitArrayIndex = (uint)bitPosition / IntSize; 54(span[(int)bitArrayIndex] & (1 << ((int)((uint)bitPosition % IntSize)))) != 0; 58internal static int ToIntArrayLength(int n) => n > 0 ? ((n - 1) / IntSize + 1) : 0;