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

◆ GetValue() [1/8]

unsafe? object System.Array.GetValue ( int index)
inline

Definition at line 993 of file Array.cs.

994 {
995 if (Rank != 1)
996 {
997 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_Need1DArray);
998 }
1000 }
object InternalGetValue(nint flattenedIndex)
unsafe nint GetFlattenedIndex(ReadOnlySpan< int > indices)
Definition Array.cs:807

References System.Array.GetFlattenedIndex(), System.index, System.Array.InternalGetValue(), System.Array.Rank, and System.ThrowHelper.ThrowArgumentException().