| 1 |
//----------------------------------------------------------------------------- |
| 2 |
// |
| 3 |
// Copyright (c) Microsoft. All rights reserved. |
| 4 |
// This code is licensed under the Microsoft Public License. |
| 5 |
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF |
| 6 |
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY |
| 7 |
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR |
| 8 |
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. |
| 9 |
// |
| 10 |
//----------------------------------------------------------------------------- |
| 11 |
using System; |
| 12 |
|
| 13 |
namespace Microsoft.Cci.Pdb { |
| 14 |
internal struct DbiDbgHdr { |
| 15 |
internal DbiDbgHdr(BitAccess bits) { |
| 16 |
bits.ReadUInt16(out snFPO); |
| 17 |
bits.ReadUInt16(out snException); |
| 18 |
bits.ReadUInt16(out snFixup); |
| 19 |
bits.ReadUInt16(out snOmapToSrc); |
| 20 |
bits.ReadUInt16(out snOmapFromSrc); |
| 21 |
bits.ReadUInt16(out snSectionHdr); |
| 22 |
bits.ReadUInt16(out snTokenRidMap); |
| 23 |
bits.ReadUInt16(out snXdata); |
| 24 |
bits.ReadUInt16(out snPdata); |
| 25 |
bits.ReadUInt16(out snNewFPO); |
| 26 |
bits.ReadUInt16(out snSectionHdrOrig); |
| 27 |
} |
| 28 |
|
| 29 |
internal ushort snFPO; // 0..1 |
| 30 |
internal ushort snException; // 2..3 (deprecated) |
| 31 |
internal ushort snFixup; // 4..5 |
| 32 |
internal ushort snOmapToSrc; // 6..7 |
| 33 |
internal ushort snOmapFromSrc; // 8..9 |
| 34 |
internal ushort snSectionHdr; // 10..11 |
| 35 |
internal ushort snTokenRidMap; // 12..13 |
| 36 |
internal ushort snXdata; // 14..15 |
| 37 |
internal ushort snPdata; // 16..17 |
| 38 |
internal ushort snNewFPO; // 18..19 |
| 39 |
internal ushort snSectionHdrOrig; // 20..21 |
| 40 |
} |
| 41 |
} |