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

◆ SetValue() [7/8]

void System.Array.SetValue ( object? value,
params int[] indices )
inline

Definition at line 1051 of file Array.cs.

1052 {
1053 if (indices == null)
1054 {
1055 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.indices);
1056 }
1057 if (Rank != indices.Length)
1058 {
1059 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankIndices);
1060 }
1062 }
unsafe nint GetFlattenedIndex(ReadOnlySpan< int > indices)
Definition Array.cs:807
void InternalSetValue(object value, nint flattenedIndex)

References System.Array.GetFlattenedIndex(), System.indices, System.Array.InternalSetValue(), System.Array.Rank, System.ThrowHelper.ThrowArgumentException(), System.ThrowHelper.ThrowArgumentNullException(), and System.value.