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)
|
if (call.OpCode.Code != Code.Call && call.OpCode.Code != Code.Callvirt)
|
||||||
continue;
|
continue;
|
||||||
var methodRef = call.Operand as MethodReference;
|
var methodRef = call.Operand as MethodReference;
|
||||||
var type = DotNetUtils.getType(module, methodRef.DeclaringType);
|
var type = getType(module, methodRef.DeclaringType);
|
||||||
var methodDef = DotNetUtils.getMethod(type, methodRef);
|
var methodDef = getMethod(type, methodRef);
|
||||||
if (methodDef != null) {
|
if (methodDef != null) {
|
||||||
yield return new Tuple<TypeDefinition, MethodDefinition> {
|
yield return new Tuple<TypeDefinition, MethodDefinition> {
|
||||||
Item1 = type,
|
Item1 = type,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user