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