/symbols/pdb/Microsoft.Cci.Pdb/DbiDbgHdr.cs

http://github.com/jbevain/cecil · C# · 34 lines · 29 code · 3 blank · 2 comment · 0 complexity · 394c8785129ff8689be0441a195e408e MD5 · raw file

  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. using System;
  4. namespace Microsoft.Cci.Pdb {
  5. internal struct DbiDbgHdr {
  6. internal DbiDbgHdr(BitAccess bits) {
  7. bits.ReadUInt16(out snFPO);
  8. bits.ReadUInt16(out snException);
  9. bits.ReadUInt16(out snFixup);
  10. bits.ReadUInt16(out snOmapToSrc);
  11. bits.ReadUInt16(out snOmapFromSrc);
  12. bits.ReadUInt16(out snSectionHdr);
  13. bits.ReadUInt16(out snTokenRidMap);
  14. bits.ReadUInt16(out snXdata);
  15. bits.ReadUInt16(out snPdata);
  16. bits.ReadUInt16(out snNewFPO);
  17. bits.ReadUInt16(out snSectionHdrOrig);
  18. }
  19. internal ushort snFPO; // 0..1
  20. internal ushort snException; // 2..3 (deprecated)
  21. internal ushort snFixup; // 4..5
  22. internal ushort snOmapToSrc; // 6..7
  23. internal ushort snOmapFromSrc; // 8..9
  24. internal ushort snSectionHdr; // 10..11
  25. internal ushort snTokenRidMap; // 12..13
  26. internal ushort snXdata; // 14..15
  27. internal ushort snPdata; // 16..17
  28. internal ushort snNewFPO; // 18..19
  29. internal ushort snSectionHdrOrig; // 20..21
  30. }
  31. }