using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Reflection; using Microsoft.Samples.Debugging.CorSymbolStore; using System.Diagnostics.SymbolStore; using System.IO; using System.Diagnostics; namespace Cosmos.Debug.Common { public class SourceInfos : SortedList { public SourceInfo GetMapping(uint aValue) { for (int i = Count - 1; i >= 0; i--) { if (Keys[i] <= aValue) { return Values[i]; } } return null; } } public class SourceInfo { public string MethodName { get; set; } public string SourceFile { get; set; } public int Line { get; set; } public int Column { get; set; } public int LineEnd { get; set; } public int ColumnEnd { get; set; } #region Old NASM Map parser //public static List