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

◆ SetValue() [5/8]

void System.Array.SetValue ( object? value,
long index1,
long index2 )
inline

Definition at line 1143 of file Array.cs.

1144 {
1145 int num = (int)index1;
1146 int num2 = (int)index2;
1147 if (index1 != num)
1148 {
1149 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index1, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1150 }
1151 if (index2 != num2)
1152 {
1153 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index2, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1154 }
1155 SetValue(value, num, num2);
1156 }
unsafe void SetValue(object? value, int index)
Definition Array.cs:1022

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