Пример #1
0
 private void DumpLines(Method method,List<BlockLineRange> lines)
 {
     foreach (var blockLineRange in lines)
     {
         SequencePoint point = SequencePoint.Create(method);
         point.LoadBlockLineRange(blockLineRange);
     }
 }
Пример #2
0
 public static Method Create(Class clazz)
 {
     Summary parentSummary = clazz != null ? clazz.Summary : null;
     Method method = new Method(parentSummary);
     return method;
 }
 public static SequencePoint Create(Method method)
 {
     Summary summary = method.Summary;
     return new SequencePoint(summary);
 }