16 references to OffsetBitCount
System.Reflection.Metadata (16)
System\Reflection\Metadata\Internal\MetadataFlags.cs (13)
150
Plain = (byte)(StringHandleType.String >> HeapHandleType.
OffsetBitCount
),
151
Virtual = (byte)(StringHandleType.VirtualString >> HeapHandleType.
OffsetBitCount
),
152
WinRTPrefixed = (byte)(StringHandleType.WinRTPrefixedString >> HeapHandleType.
OffsetBitCount
),
153
DotTerminated = (byte)(StringHandleType.DotTerminatedString >> HeapHandleType.
OffsetBitCount
),
165
internal const uint String = (0 << HeapHandleType.
OffsetBitCount
);
168
internal const uint DotTerminatedString = (1 << HeapHandleType.
OffsetBitCount
);
171
internal const uint ReservedString1 = (2 << HeapHandleType.
OffsetBitCount
);
172
internal const uint ReservedString2 = (3 << HeapHandleType.
OffsetBitCount
);
175
internal const uint VirtualString = HeapHandleType.VirtualBit | (0 << HeapHandleType.
OffsetBitCount
);
178
internal const uint WinRTPrefixedString = HeapHandleType.VirtualBit | (1 << HeapHandleType.
OffsetBitCount
);
181
internal const uint ReservedVirtualString1 = HeapHandleType.VirtualBit | (2 << HeapHandleType.
OffsetBitCount
);
182
internal const uint ReservedVirtualString2 = HeapHandleType.VirtualBit | (3 << HeapHandleType.
OffsetBitCount
);
189
internal const uint OffsetMask = (1 <<
OffsetBitCount
) - 1;
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
2346
(byte)((handle._value & HeapHandleType.VirtualBit) >> 24 | HandleType.String | (handle._value & StringHandleType.NonVirtualTypeMask) >> HeapHandleType.
OffsetBitCount
),
2360
(handle.VType & HandleType.NonVirtualStringTypeMask) << HeapHandleType.
OffsetBitCount
|
2401
get { return (StringKind)(_value >> HeapHandleType.
OffsetBitCount
); }