diff --git a/ReCodeItCLI/ReCodeIt.csproj b/ReCodeItCLI/ReCodeIt.csproj index 82e28b7..24eb2c2 100644 --- a/ReCodeItCLI/ReCodeIt.csproj +++ b/ReCodeItCLI/ReCodeIt.csproj @@ -10,7 +10,7 @@ - + diff --git a/RecodeItLib/Remapper/DeObfuscator.cs b/RecodeItLib/Remapper/DeObfuscator.cs index e46c9cf..3aebe88 100644 --- a/RecodeItLib/Remapper/DeObfuscator.cs +++ b/RecodeItLib/Remapper/DeObfuscator.cs @@ -33,7 +33,7 @@ public static class Deobfuscator if (!method.Body.Instructions.Any(x => x.OpCode.Code == Code.Callvirt && - ((MethodDef)x.Operand).FullName == "System.Object System.AppDomain::GetData(System.String)")) + ((IMethodDefOrRef)x.Operand).FullName == "System.Object System.AppDomain::GetData(System.String)")) { continue; }