Ejemplo n.º 1
0
        /// <summary>
        /// Gets step ranges
        /// </summary>
        /// <param name="sourceILSpans">Source statement spans</param>
        /// <returns></returns>
        public DbgILSpan[] GetRanges(DbgILSpan[] sourceILSpans)
        {
            var list = new List <DbgILSpan>(sourceILSpans.Length + GetUnusedILSpans().Length + 1);

            list.AddRange(sourceILSpans);
            list.AddRange(GetUnusedILSpans());
            return(DbgILSpan.OrderAndCompactList(list).ToArray());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ilSpan">IL span</param>
 /// <param name="textSpan">Text span</param>
 public DbgSourceStatement(DbgILSpan ilSpan, DbgTextSpan textSpan)
 {
     this.ilSpan   = ilSpan;
     this.textSpan = textSpan;
 }