| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
using System; |
| 12 |
|
| 13 |
namespace Microsoft.Cci.Pdb { |
| 14 |
internal class PdbSlot { |
| 15 |
internal uint slot; |
| 16 |
internal uint typeToken; |
| 17 |
internal string name; |
| 18 |
internal ushort flags; |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
internal PdbSlot(BitAccess bits) { |
| 23 |
AttrSlotSym slot; |
| 24 |
|
| 25 |
bits.ReadUInt32(out slot.index); |
| 26 |
bits.ReadUInt32(out slot.typind); |
| 27 |
bits.ReadUInt32(out slot.offCod); |
| 28 |
bits.ReadUInt16(out slot.segCod); |
| 29 |
bits.ReadUInt16(out slot.flags); |
| 30 |
bits.ReadCString(out slot.name); |
| 31 |
|
| 32 |
this.slot = slot.index; |
| 33 |
this.typeToken = slot.typind; |
| 34 |
this.name = slot.name; |
| 35 |
this.flags = slot.flags; |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
} |
| 40 |
} |
| 41 |
} |