Skip to content

Commit 88527d0

Browse files
author
Sam Byass
committed
Lib: Fix FieldInfos returning a list of empty objects
1 parent 951355a commit 88527d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

LibCpp2IL/Metadata/Il2CppTypeDefinition.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,7 @@ public Il2CppFieldReflectionData[]? FieldInfos
268268
};
269269
}
270270

271-
return fields?
272-
.Select((t, i) => new Il2CppFieldReflectionData {})
273-
.ToArray();
271+
return ret;
274272
}
275273
}
276274

0 commit comments

Comments
 (0)