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

◆ GetValue() [6/8]

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

Definition at line 1089 of file Array.cs.

1090 {
1091 int num = (int)index1;
1092 int num2 = (int)index2;
1093 int num3 = (int)index3;
1094 if (index1 != num)
1095 {
1096 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index1, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1097 }
1098 if (index2 != num2)
1099 {
1100 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index2, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1101 }
1102 if (index3 != num3)
1103 {
1104 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index3, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1105 }
1106 return GetValue(num, num2, num3);
1107 }
object? GetValue(params int[] indices)
Definition Array.cs:980

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