mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
950 B
35 lines
950 B
//----------------------------------------------------------------------------- |
|
// |
|
// Copyright (C) Microsoft Corporation. All Rights Reserved. |
|
// |
|
//----------------------------------------------------------------------------- |
|
using System; |
|
|
|
namespace Microsoft.Cci.Pdb { |
|
internal class PdbSlot { |
|
internal uint slot; |
|
internal string name; |
|
internal ushort flags; |
|
internal uint segment; |
|
internal uint address; |
|
|
|
internal PdbSlot(BitAccess bits, out uint typind) { |
|
AttrSlotSym slot; |
|
|
|
bits.ReadUInt32(out slot.index); |
|
bits.ReadUInt32(out slot.typind); |
|
bits.ReadUInt32(out slot.offCod); |
|
bits.ReadUInt16(out slot.segCod); |
|
bits.ReadUInt16(out slot.flags); |
|
bits.ReadCString(out slot.name); |
|
|
|
this.slot = slot.index; |
|
this.name = slot.name; |
|
this.flags = slot.flags; |
|
this.segment = slot.segCod; |
|
this.address = slot.offCod; |
|
|
|
typind = slot.typind; |
|
} |
|
} |
|
}
|
|
|