AppModel/C++: Fix regression in handling of C# primitive pointer types

This commit is contained in:
Katy Coe
2020-07-20 18:15:41 +02:00
parent 58309b9943
commit e37de64839
3 changed files with 5 additions and 17 deletions

View File

@@ -102,7 +102,7 @@ namespace Il2CppInspector.Cpp
private void VisitFieldStructs(TypeInfo ti) {
if (VisitedFieldStructs.Contains(ti))
return;
if (ti.IsByRef || ti.IsPointer || ti.ContainsGenericParameters)
if (ti.IsByRef || ti.ContainsGenericParameters)
return;
VisitedFieldStructs.Add(ti);