From 9a260ef424c7087253f7b9ecb5a2af601b235bf1 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Tue, 22 Oct 2019 00:38:04 +0200 Subject: [PATCH] Remove unnecessary syntax in Il2CppBinary.Load --- Il2CppInspector/Il2CppBinary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector/Il2CppBinary.cs b/Il2CppInspector/Il2CppBinary.cs index f804689..bc30cfa 100644 --- a/Il2CppInspector/Il2CppBinary.cs +++ b/Il2CppInspector/Il2CppBinary.cs @@ -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;