1 //-----------------------------------------------------------------------------
3 // Copyright (C) Microsoft Corporation. All Rights Reserved.
5 //-----------------------------------------------------------------------------
8 namespace Microsoft
.Cci
.Pdb
{
9 internal class PdbSlot
{
12 internal ushort flags
;
13 internal uint segment
;
14 internal uint address
;
16 internal PdbSlot(BitAccess bits
, out uint typind
) {
19 bits
.ReadUInt32(out slot
.index
);
20 bits
.ReadUInt32(out slot
.typind
);
21 bits
.ReadUInt32(out slot
.offCod
);
22 bits
.ReadUInt16(out slot
.segCod
);
23 bits
.ReadUInt16(out slot
.flags
);
24 bits
.ReadCString(out slot
.name
);
26 this.slot
= slot
.index
;
27 this.name
= slot
.name
;
28 this.flags
= slot
.flags
;
29 this.segment
= slot
.segCod
;
30 this.address
= slot
.offCod
;