simplify custom attribute logic a bit by always returning arrays as ConstantBlobArrayElement

This commit is contained in:
LukeFZ
2023-12-01 06:46:58 +01:00
parent 6aa96b431d
commit 227aefedef
5 changed files with 19 additions and 38 deletions

View File

@@ -75,10 +75,6 @@ namespace Il2CppInspector.Reflection
foreach (var info in GetTypeReferences(array))
yield return info;
break;
case TypeInfo[] infos:
foreach (var info in infos)
yield return info;
break;
}
}
}