Don't need to prefix the method with the class name
This commit is contained in:
parent
8e89e011e9
commit
975d195dbc
|
@ -623,8 +623,8 @@ namespace de4dot.blocks {
|
|||
if (call.OpCode.Code != Code.Call && call.OpCode.Code != Code.Callvirt)
|
||||
continue;
|
||||
var methodRef = call.Operand as MethodReference;
|
||||
var type = DotNetUtils.getType(module, methodRef.DeclaringType);
|
||||
var methodDef = DotNetUtils.getMethod(type, methodRef);
|
||||
var type = getType(module, methodRef.DeclaringType);
|
||||
var methodDef = getMethod(type, methodRef);
|
||||
if (methodDef != null) {
|
||||
yield return new Tuple<TypeDefinition, MethodDefinition> {
|
||||
Item1 = type,
|
||||
|
|
Loading…
Reference in New Issue
Block a user