diff --git a/blocks/cflow/MethodCallInliner.cs b/blocks/cflow/MethodCallInliner.cs index e0b270fb..41302459 100644 --- a/blocks/cflow/MethodCallInliner.cs +++ b/blocks/cflow/MethodCallInliner.cs @@ -114,7 +114,7 @@ namespace de4dot.blocks.cflow { } protected override bool isCompatibleType(int paramIndex, IType origType, IType newType) { - if (new SigComparer().Equals(origType, newType)) + if (new SigComparer(SigComparerOptions.IgnoreModifiers).Equals(origType, newType)) return true; if (isValueType(newType) || isValueType(origType)) return false; diff --git a/de4dot.code/deobfuscators/Babel_NET/BabelMethodCallInliner.cs b/de4dot.code/deobfuscators/Babel_NET/BabelMethodCallInliner.cs index bd629313..87fbd7f0 100644 --- a/de4dot.code/deobfuscators/Babel_NET/BabelMethodCallInliner.cs +++ b/de4dot.code/deobfuscators/Babel_NET/BabelMethodCallInliner.cs @@ -234,7 +234,7 @@ namespace de4dot.code.deobfuscators.Babel_NET { } protected override bool isCompatibleType(int paramIndex, IType origType, IType newType) { - if (new SigComparer().Equals(origType, newType)) + if (new SigComparer(SigComparerOptions.IgnoreModifiers).Equals(origType, newType)) return true; if (isValueType(newType) || isValueType(origType)) return false; diff --git a/de4dot.code/deobfuscators/Spices_Net/SpicesMethodCallInliner.cs b/de4dot.code/deobfuscators/Spices_Net/SpicesMethodCallInliner.cs index 99a378a5..c7846fad 100644 --- a/de4dot.code/deobfuscators/Spices_Net/SpicesMethodCallInliner.cs +++ b/de4dot.code/deobfuscators/Spices_Net/SpicesMethodCallInliner.cs @@ -35,7 +35,7 @@ namespace de4dot.code.deobfuscators.Spices_Net { } protected override bool isCompatibleType(int paramIndex, IType origType, IType newType) { - if (new SigComparer().Equals(origType, newType)) + if (new SigComparer(SigComparerOptions.IgnoreModifiers).Equals(origType, newType)) return true; if (paramIndex == -1) { if (isValueType(newType) || isValueType(origType)) diff --git a/dot10 b/dot10 index 52445490..8de4c07f 160000 --- a/dot10 +++ b/dot10 @@ -1 +1 @@ -Subproject commit 524454903a493b9bbbd29a95fa6c68e7536aa57a +Subproject commit 8de4c07f8f94236474b601016a66e7752a6fc7bd