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 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; } public static int GetIndexClosestSmallerMatch(IList aList, int aValue) { int xIdx = -1; for (int i = 0; i < aList.Count; i++) { if (aList[i] <= aValue) { xIdx = i; } else { break; } } return xIdx; } } }