Add another method overload
This commit is contained in:
parent
061f793f68
commit
d3369279bc
|
@ -836,6 +836,10 @@ namespace de4dot.blocks {
|
|||
return getParameter(getParameters(method), method, instr);
|
||||
}
|
||||
|
||||
public static ParameterDefinition getParameter(MethodReference method, IList<ParameterDefinition> parameters, Instruction instr) {
|
||||
return getParameter(parameters, getArgIndex(method, instr));
|
||||
}
|
||||
|
||||
public static ParameterDefinition getParameter(IList<ParameterDefinition> parameters, MethodReference method, Instruction instr) {
|
||||
return getParameter(parameters, getArgIndex(method, instr));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user