From 5f8aced6889cb21c6d0ca023ca371137870ed439 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sat, 2 Nov 2019 17:51:10 +0100 Subject: [PATCH] Model: Use + in FullName for nested types, no spaces between generic type parameters --- Il2CppInspector/Reflection/TypeInfo.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Il2CppInspector/Reflection/TypeInfo.cs b/Il2CppInspector/Reflection/TypeInfo.cs index 9876026..b45184c 100644 --- a/Il2CppInspector/Reflection/TypeInfo.cs +++ b/Il2CppInspector/Reflection/TypeInfo.cs @@ -104,10 +104,10 @@ namespace Il2CppInspector.Reflection { (IsPointer? "void *" : "") + Namespace + (Namespace.Length > 0? "." : "") - + (DeclaringType != null? DeclaringType.Name + "." : "") + + (DeclaringType != null? DeclaringType.Name + "+" : "") + base.Name - + (GenericTypeParameters != null ? "[" + string.Join(", ", GenericTypeParameters.Select(x => x.Name)) + "]" : "") - + (GenericTypeArguments != null ? "[" + string.Join(", ", GenericTypeArguments.Select(x => x.Name)) + "]" : "") + + (GenericTypeParameters != null ? "[" + string.Join(",", GenericTypeParameters.Select(x => x.Name)) + "]" : "") + + (GenericTypeArguments != null ? "[" + string.Join(",", GenericTypeArguments.Select(x => x.Name)) + "]" : "") + (IsArray? "[]" : ""); // TODO: Alot of other generics stuff