PdbInfo.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. using System.Collections.Generic;
  5. namespace Microsoft.Cci.Pdb {
  6. /// <summary>
  7. /// This class represents the information read from a PDB file (both legacy Windows and Portable).
  8. /// </summary>
  9. internal class PdbInfo {
  10. /// <summary>
  11. /// Enumeration of per-function information contained in the PDB file.
  12. /// </summary>
  13. public PdbFunction[] Functions;
  14. /// <summary>
  15. /// Mapping from tokens to source files and line numbers.
  16. /// </summary>
  17. public Dictionary<uint, PdbTokenLine> TokenToSourceMapping;
  18. /// <summary>
  19. /// Source server data information.
  20. /// </summary>
  21. public string SourceServerData;
  22. /// <summary>
  23. /// Age of the PDB file is used to match the PDB against the PE binary.
  24. /// </summary>
  25. public int Age;
  26. /// <summary>
  27. /// GUID of the PDB file is used to match the PDB against the PE binary.
  28. /// </summary>
  29. public Guid Guid;
  30. /// <summary>
  31. /// Source link data information.
  32. /// </summary>
  33. public byte[] SourceLinkData;
  34. }
  35. }