Model: Set ContainsGenericParameters correctly for arrays and pointers
This commit is contained in:
@@ -346,6 +346,7 @@ namespace Il2CppInspector.Reflection {
|
|||||||
Index = ElementType.Index;
|
Index = ElementType.Index;
|
||||||
Namespace = ElementType.Namespace;
|
Namespace = ElementType.Namespace;
|
||||||
Name = ElementType.Name;
|
Name = ElementType.Name;
|
||||||
|
ContainsGenericParameters = ElementType.ContainsGenericParameters;
|
||||||
|
|
||||||
IsArray = true;
|
IsArray = true;
|
||||||
arrayRank = descriptor.rank;
|
arrayRank = descriptor.rank;
|
||||||
@@ -360,6 +361,7 @@ namespace Il2CppInspector.Reflection {
|
|||||||
Index = ElementType.Index;
|
Index = ElementType.Index;
|
||||||
Namespace = ElementType.Namespace;
|
Namespace = ElementType.Namespace;
|
||||||
Name = ElementType.Name;
|
Name = ElementType.Name;
|
||||||
|
ContainsGenericParameters = ElementType.ContainsGenericParameters;
|
||||||
|
|
||||||
IsPointer = (pType.type == Il2CppTypeEnum.IL2CPP_TYPE_PTR);
|
IsPointer = (pType.type == Il2CppTypeEnum.IL2CPP_TYPE_PTR);
|
||||||
IsArray = !IsPointer;
|
IsArray = !IsPointer;
|
||||||
|
|||||||
Reference in New Issue
Block a user