예제 #1
0
 public void AddLocationRelativeToMethod(int line, LocationRelativeToMethod location, string methodName)
 {
     LocationsRelativeToMethod.TryAdd(line, new LocationRelativeToMethodInfo()
     {
         Location = location, Method = methodName
     });
 }
예제 #2
0
 public void AddLocationRelativeToMethod(int startLine, int endLine, LocationRelativeToMethod location, string methodName)
 {
     for (int i = startLine; i <= endLine; i++)
     {
         LocationsRelativeToMethod.TryAdd(i, new LocationRelativeToMethodInfo()
         {
             Location = location, Method = methodName
         });
     }
 }