Update detection of possibly inlined methods
This commit is contained in:
parent
e68cedd44b
commit
0c4abcc039
|
@ -598,7 +598,11 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
|||
var inlinedMethods = new List<MethodDefinition>();
|
||||
foreach (var type in module.GetTypes()) {
|
||||
foreach (var method in type.Methods) {
|
||||
if (!method.IsStatic || !method.IsAssembly)
|
||||
if (!method.IsStatic)
|
||||
continue;
|
||||
if (!method.IsAssembly && !method.IsCompilerControlled)
|
||||
continue;
|
||||
if (method.GenericParameters.Count > 0)
|
||||
continue;
|
||||
if (method.Body == null)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user