Wrapper for il2cpp enumerator so that it actually extends the normal System enumerator
public class Il2CppEnumerator :
System.Collections.IEnumerator,
System.IDisposable
Inheritance System.Object Il2CppEnumerator
Implements System.Collections.IEnumerator, System.IDisposable
Construction a wrapper for an il2cpp enumerator
public Il2CppEnumerator(IEnumerable enumerable);
enumerable Il2CppSystem.Collections.IEnumerable
Construction a wrapper for an il2cpp enumerator
public Il2CppEnumerator(IEnumerator enumerator);
enumerator Il2CppSystem.Collections.IEnumerator
Gets the element in the collection at the current position of the enumerator.
public Object Current { get; }
Implements Current
The internal il2cpp enumerator being wrapped
public IEnumerator Enumerator { get; }
Il2CppSystem.Collections.IEnumerator
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose();
Implements Dispose()
Advances the enumerator to the next element of the collection.
public bool MoveNext();
Implements MoveNext()
System.Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
System.InvalidOperationException
The collection was modified after the enumerator was created.
Sets the enumerator to its initial position, which is before the first element in the collection.
public void Reset();
Implements Reset()
System.InvalidOperationException
The collection was modified after the enumerator was created.
Wraps an il2cpp enumerable
public static BTD_Mod_Helper.Api.Helpers.Il2CppEnumerator implicit operator Il2CppEnumerator(IEnumerable enumerator);
enumerator Il2CppSystem.Collections.IEnumerable
Wraps an il2cpp enumerator
public static BTD_Mod_Helper.Api.Helpers.Il2CppEnumerator implicit operator Il2CppEnumerator(IEnumerator enumerator);
enumerator Il2CppSystem.Collections.IEnumerator
Gets the current element in the collection.
object System.Collections.IEnumerator.Current { get; }
Implements Current