public void AddLocationRelativeToMethod(int line, LocationRelativeToMethod location, string methodName) { LocationsRelativeToMethod.TryAdd(line, new LocationRelativeToMethodInfo() { Location = location, Method = methodName }); }
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 }); } }