From e328ed9b8408023f005e3cb1c64d7202058ea521 Mon Sep 17 00:00:00 2001 From: LukeFZ <17146677+LukeFZ@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:23:58 +0100 Subject: [PATCH] just check for FullName == null in getScopedFullname --- Il2CppInspector.Common/Reflection/TypeInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/Reflection/TypeInfo.cs b/Il2CppInspector.Common/Reflection/TypeInfo.cs index 711828f..02540d7 100644 --- a/Il2CppInspector.Common/Reflection/TypeInfo.cs +++ b/Il2CppInspector.Common/Reflection/TypeInfo.cs @@ -415,7 +415,7 @@ namespace Il2CppInspector.Reflection private string getScopedFullName(Scope scope) { // Generic type parameters take precedence over all other names, so if FullName is null (== generic) we can just return the name itself - if (IsGenericParameter) + if (FullName == null) return this.Name; // This is the type to be used (generic type parameters have a null FullName)