We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e66c15b + ad18997 commit 8e9f1f3Copy full SHA for 8e9f1f3
BepInEx.IL2CPP/Utils/Collections/Il2CppManagedEnumerator.cs
@@ -35,6 +35,7 @@ public Il2CppManagedEnumerator(IEnumerator enumerator)
35
36
public Object Current => enumerator.Current switch
37
{
38
+ Il2CppIEnumerator i => i.Cast<Object>(),
39
IEnumerator e => new Il2CppManagedEnumerator(e),
40
Object oo => oo,
41
{ } obj => ManagedToIl2CppObject(obj),
0 commit comments