| 1 |
// Copyright (c) Microsoft. All rights reserved. |
| 2 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
using System; |
| 5 |
|
| 6 |
namespace Microsoft.Cci.Pdb { |
| 7 |
internal struct DbiDbgHdr { |
| 8 |
internal DbiDbgHdr(BitAccess bits) { |
| 9 |
bits.ReadUInt16(out snFPO); |
| 10 |
bits.ReadUInt16(out snException); |
| 11 |
bits.ReadUInt16(out snFixup); |
| 12 |
bits.ReadUInt16(out snOmapToSrc); |
| 13 |
bits.ReadUInt16(out snOmapFromSrc); |
| 14 |
bits.ReadUInt16(out snSectionHdr); |
| 15 |
bits.ReadUInt16(out snTokenRidMap); |
| 16 |
bits.ReadUInt16(out snXdata); |
| 17 |
bits.ReadUInt16(out snPdata); |
| 18 |
bits.ReadUInt16(out snNewFPO); |
| 19 |
bits.ReadUInt16(out snSectionHdrOrig); |
| 20 |
} |
| 21 |
|
| 22 |
internal ushort snFPO; // 0..1 |
| 23 |
internal ushort snException; // 2..3 (deprecated) |
| 24 |
internal ushort snFixup; // 4..5 |
| 25 |
internal ushort snOmapToSrc; // 6..7 |
| 26 |
internal ushort snOmapFromSrc; // 8..9 |
| 27 |
internal ushort snSectionHdr; // 10..11 |
| 28 |
internal ushort snTokenRidMap; // 12..13 |
| 29 |
internal ushort snXdata; // 14..15 |
| 30 |
internal ushort snPdata; // 16..17 |
| 31 |
internal ushort snNewFPO; // 18..19 |
| 32 |
internal ushort snSectionHdrOrig; // 20..21 |
| 33 |
} |
| 34 |
} |