Remove unnecessary syntax in Il2CppBinary.Load

This commit is contained in:
Katy Coe
2019-10-22 00:38:04 +02:00
parent ec0e771f5a
commit 9a260ef424

View File

@@ -52,7 +52,7 @@ namespace Il2CppInspector
if (type == null)
return null;
var inst = (Il2CppBinary) Activator.CreateInstance(type, new object[] {stream});
var inst = (Il2CppBinary) Activator.CreateInstance(type, stream);
// Try to process the IL2CPP image; return the instance if succeeded, otherwise null
return inst.Initialize(metadataVersion) ? inst : null;