using System.Collections.Generic; namespace Cosmos.Debug.Symbols { //public class SourceInfos : SortedList { //} public class SourceInfo { public string MethodName { get; set; } public string SourceFile { get; set; } public int LineStart { get; set; } public int ColumnStart { 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; } } }