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

◆ GetValue() [5/8]

object? System.Array.GetValue ( long index1,
long index2 )
inline

Definition at line 1074 of file Array.cs.

1075 {
1076 int num = (int)index1;
1077 int num2 = (int)index2;
1078 if (index1 != num)
1079 {
1080 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index1, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1081 }
1082 if (index2 != num2)
1083 {
1084 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index2, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1085 }
1086 return GetValue(num, num2);
1087 }
object? GetValue(params int[] indices)
Definition Array.cs:980

References System.Array.GetValue(), System.index1, System.index2, and System.ThrowHelper.ThrowArgumentOutOfRangeException().