Merge branch 'master' into confuser
This commit is contained in:
commit
17ef50f87f
|
@ -1224,7 +1224,7 @@ namespace de4dot.blocks {
|
|||
return false;
|
||||
|
||||
foreach (var instr in method.Body.Instructions) {
|
||||
if (instr.OpCode.Code != Code.Call && instr.OpCode.Code != Code.Callvirt)
|
||||
if (instr.OpCode.Code != Code.Call && instr.OpCode.Code != Code.Callvirt && instr.OpCode.Code != Code.Newobj)
|
||||
continue;
|
||||
if (isMethod(instr.Operand as MethodReference, returnType, parameters))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user