Fix typo in OIDs corresponding to SHA256, SHA384, and SHA512 (#21707)
[mono-project.git] / mcs / tools / pdb2mdb / DbiDbgHdr.cs
blobb6159ab7a7bbbbfcdde3330b9e984adf2cc47fe5
1 //-----------------------------------------------------------------------------
2 //
3 // Copyright (C) Microsoft Corporation. All Rights Reserved.
4 //
5 //-----------------------------------------------------------------------------
6 using System;
8 namespace Microsoft.Cci.Pdb {
9 internal struct DbiDbgHdr {
10 internal DbiDbgHdr(BitAccess bits) {
11 bits.ReadUInt16(out snFPO);
12 bits.ReadUInt16(out snException);
13 bits.ReadUInt16(out snFixup);
14 bits.ReadUInt16(out snOmapToSrc);
15 bits.ReadUInt16(out snOmapFromSrc);
16 bits.ReadUInt16(out snSectionHdr);
17 bits.ReadUInt16(out snTokenRidMap);
18 bits.ReadUInt16(out snXdata);
19 bits.ReadUInt16(out snPdata);
20 bits.ReadUInt16(out snNewFPO);
21 bits.ReadUInt16(out snSectionHdrOrig);
24 internal ushort snFPO; // 0..1
25 internal ushort snException; // 2..3 (deprecated)
26 internal ushort snFixup; // 4..5
27 internal ushort snOmapToSrc; // 6..7
28 internal ushort snOmapFromSrc; // 8..9
29 internal ushort snSectionHdr; // 10..11
30 internal ushort snTokenRidMap; // 12..13
31 internal ushort snXdata; // 14..15
32 internal ushort snPdata; // 16..17
33 internal ushort snNewFPO; // 18..19
34 internal ushort snSectionHdrOrig; // 20..21