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