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

◆ Copy() [5/5]

static void System.Array.Copy ( Array sourceArray,
long sourceIndex,
Array destinationArray,
long destinationIndex,
long length )
inlinestatic

Definition at line 960 of file Array.cs.

961 {
962 int num = (int)sourceIndex;
963 int num2 = (int)destinationIndex;
964 int num3 = (int)length;
965 if (sourceIndex != num)
966 {
967 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sourceIndex, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
968 }
969 if (destinationIndex != num2)
970 {
971 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.destinationIndex, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
972 }
973 if (length != num3)
974 {
975 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.length, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
976 }
978 }
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
Definition Array.cs:624

References System.Array.Copy(), System.destinationArray, System.destinationIndex, System.length, System.sourceArray, System.sourceIndex, and System.ThrowHelper.ThrowArgumentOutOfRangeException().