5 references to IntSize
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\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;