Rev | Line | |
---|
[11700] | 1 | //----------------------------------------------------------------------------- |
---|
| 2 | // |
---|
| 3 | // Copyright (C) Microsoft Corporation. All Rights Reserved. |
---|
| 4 | // |
---|
| 5 | //----------------------------------------------------------------------------- |
---|
| 6 | using System; |
---|
| 7 | |
---|
| 8 | namespace Microsoft.Cci.Pdb { |
---|
| 9 | internal class PdbSlot { |
---|
| 10 | internal uint slot; |
---|
| 11 | internal string name; |
---|
| 12 | internal ushort flags; |
---|
| 13 | internal uint segment; |
---|
| 14 | internal uint address; |
---|
| 15 | |
---|
| 16 | internal PdbSlot(BitAccess bits, out uint typind) { |
---|
| 17 | AttrSlotSym slot; |
---|
| 18 | |
---|
| 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); |
---|
| 25 | |
---|
| 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; |
---|
| 31 | |
---|
| 32 | typind = slot.typind; |
---|
| 33 | } |
---|
| 34 | } |
---|
| 35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.