Ignore resolve errors. It's likely an obfuscator bug.
This commit is contained in:
parent
13d5f8e37d
commit
a23a889776
|
@ -504,7 +504,8 @@ namespace de4dot.renamer {
|
||||||
}
|
}
|
||||||
if (isAutoCreatedType(typeReference))
|
if (isAutoCreatedType(typeReference))
|
||||||
return null;
|
return null;
|
||||||
throw new ApplicationException(string.Format("Could not resolve TypeReference {0} ({1:X8})", typeReference, typeReference.MetadataToken.ToInt32()));
|
Log.e("Could not resolve TypeReference {0} ({1:X8})", typeReference, typeReference.MetadataToken.ToInt32());
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MethodDef resolve(MethodReference methodReference) {
|
public MethodDef resolve(MethodReference methodReference) {
|
||||||
|
@ -520,7 +521,8 @@ namespace de4dot.renamer {
|
||||||
}
|
}
|
||||||
if (isAutoCreatedType(methodReference.DeclaringType))
|
if (isAutoCreatedType(methodReference.DeclaringType))
|
||||||
return null;
|
return null;
|
||||||
throw new ApplicationException(string.Format("Could not resolve MethodReference {0} ({1:X8})", methodReference, methodReference.MetadataToken.ToInt32()));
|
Log.e("Could not resolve MethodReference {0} ({1:X8})", methodReference, methodReference.MetadataToken.ToInt32());
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FieldDef resolve(FieldReference fieldReference) {
|
public FieldDef resolve(FieldReference fieldReference) {
|
||||||
|
@ -536,7 +538,8 @@ namespace de4dot.renamer {
|
||||||
}
|
}
|
||||||
if (isAutoCreatedType(fieldReference.DeclaringType))
|
if (isAutoCreatedType(fieldReference.DeclaringType))
|
||||||
return null;
|
return null;
|
||||||
throw new ApplicationException(string.Format("Could not resolve FieldReference {0} ({1:X8})", fieldReference, fieldReference.MetadataToken.ToInt32()));
|
Log.e("Could not resolve FieldReference {0} ({1:X8})", fieldReference, fieldReference.MetadataToken.ToInt32());
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MethodDef findMethod(MethodReference methodReference) {
|
public MethodDef findMethod(MethodReference methodReference) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user