Skip to content

Commit 204fd31

Browse files
committed
Add missing change
1 parent 37fcdbb commit 204fd31

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Il2CppInterop.Runtime/Extensions/Il2CppSystemTypeExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ static Il2CppSystemTypeExtensions()
2424
{
2525
public static Type FromTypePointer(nint typePointer)
2626
{
27-
// Ensure Il2CppSystem.RuntimeType is initialized before we call Il2CppSystem.Type.internal_from_handle
28-
RuntimeHelpers.RunClassConstructor(typeof(RuntimeType).TypeHandle);
29-
3027
return Type.internal_from_handle(typePointer);
3128
}
3229

0 commit comments

Comments
 (0)