Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Current

object System.ArrayEnumerator.Current
get

Implements System.Collections.IEnumerator.

Definition at line 11 of file ArrayEnumerator.cs.

12 {
13 get
14 {
15 nint index = _index;
17 if ((nuint)index >= array.NativeLength)
18 {
19 if (index < 0)
20 {
21 ThrowHelper.ThrowInvalidOperationException_InvalidOperation_EnumNotStarted();
22 }
23 else
24 {
25 ThrowHelper.ThrowInvalidOperationException_InvalidOperation_EnumEnded();
26 }
27 }
29 }
30 }
object InternalGetValue(nint flattenedIndex)