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