Skip to content

Commit 8b1b682

Browse files
committed
replaced class retrieval method as per PR comments
1 parent 90bf666 commit 8b1b682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/metadata/unity-memory-info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ CollectImageMetaData (MonoImage *image, gpointer value, CollectMetadataContext *
9898

9999
while (g_hash_table_iter_next (&iter, &key, NULL)) {
100100
MonoType *monoType = (MonoType *)key;
101-
MonoClass *klass = mono_type_get_class (monoType);
101+
MonoClass *klass = mono_class_from_mono_type (monoType);
102102

103103
if (klass)
104104
ContextRecurseClassData (context, klass);

0 commit comments

Comments
 (0)